forked from lijiext/lammps
git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@3088 f3b2605a-c512-4ea7-a41b-209d697bcdaa
This commit is contained in:
parent
1d79de28b3
commit
170cbf9ec0
|
@ -235,9 +235,9 @@ void Modify::init()
|
|||
|
||||
void Modify::setup(int vflag)
|
||||
{
|
||||
if (update->whichflag == 0)
|
||||
if (update->whichflag == 1)
|
||||
for (int i = 0; i < nfix; i++) fix[i]->setup(vflag);
|
||||
else
|
||||
else if (update->whichflag == 2)
|
||||
for (int i = 0; i < nfix; i++) fix[i]->min_setup(vflag);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue