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

This commit is contained in:
sjplimp
2013-02-12 23:09:54 +00:00
parent ab6e341dd9
commit 5c635d47eb
21 changed files with 75 additions and 21 deletions

View File

@ -221,7 +221,7 @@ void Modify::init()
}
/* ----------------------------------------------------------------------
setup for run, calls setup() of all fixes
setup for run, calls setup() of all fixes and computes
called from Verlet, RESPA, Min
------------------------------------------------------------------------- */
@ -231,6 +231,11 @@ void Modify::setup(int vflag)
for (int i = 0; i < nfix; i++) fix[i]->setup(vflag);
else if (update->whichflag == 2)
for (int i = 0; i < nfix; i++) fix[i]->min_setup(vflag);
// call computes after fixes
// fix rigid dof() can't be called by temperature computes at init
for (int i = 0; i < ncompute; i++) compute[i]->setup();
}
/* ----------------------------------------------------------------------