git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@4071 f3b2605a-c512-4ea7-a41b-209d697bcdaa

This commit is contained in:
sjplimp
2010-04-29 23:00:20 +00:00
parent f7863aad20
commit 5f8335283a
6 changed files with 14 additions and 1 deletions

View File

@ -178,6 +178,9 @@ FixBoxRelax::FixBoxRelax(LAMMPS *lmp, int narg, char **arg) :
} else error->all("Illegal fix box/relax command");
}
if (p_flag[0] || p_flag[1] || p_flag[2]) box_change_size = 1;
if (p_flag[3] || p_flag[4] || p_flag[5]) box_change_shape = 1;
// error checks
if (dimension == 2 && (p_flag[2] || p_flag[3] || p_flag[4]))