replace Fix::box_change_xxx variables with Fix::box_change bitmask and add check to Domain::init()

This allows a more specific tracking of whether multiple fixes are
modifying the same box parameter and error out in that case.
This commit is contained in:
Axel Kohlmeyer
2020-02-08 15:12:26 -05:00
parent f0935feabe
commit 5f68f3006f
22 changed files with 108 additions and 41 deletions

View File

@ -58,7 +58,7 @@ Fix::Fix(LAMMPS *lmp, int /*narg*/, char **arg) :
restart_global = restart_peratom = restart_file = 0;
force_reneighbor = 0;
box_change_size = box_change_shape = box_change_domain = 0;
box_change = NO_BOX_CHANGE;
thermo_energy = 0;
thermo_virial = 0;
rigid_flag = 0;