Closed Liozou closed 1 year ago
Just for the record: the bug fixed by Fix Buckingham potentials in grids
(https://github.com/iRASPA/RASPA2/pull/38/commits/c5719dffc26799b5e4341b2b48acc9dc7b780ad5) was really crippling for us, until we were given the fix by David Sholl's group. Maybe it could be merged into RASPA for all users who aren't aware of it?
Hi! I noticed that doing a simple MC simulation of faujasite resulted in this curious note in the output:
so I investigated and it turns out that, in framework.c, lines 2001 and 3441 wrongly set the
BoundaryCondition
toTRICLINIC
instead ofCUBIC
(and lines 3320 always overwrites the preceding lines intoTRICLINIC
as well).This PR fixes that and also adds
CUBIC
as an option whenever onlyRECTANGULAR
andTRICLINIC
exist (by defaulting toRECTANGULAR
). I believe there is actually no difference betweenCUBIC
andRECTANGULAR
in the current code, but at least this code allows specializing onCUBIC
in future developments.