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

This commit is contained in:
sjplimp
2010-07-15 23:23:37 +00:00
parent bd420610f5
commit 5bbed4347d
6 changed files with 20 additions and 4 deletions

View File

@ -169,12 +169,13 @@ void FixAdapt::init()
if (!input->variable->equalstyle(ivar[m]))
error->all("Variable for fix adapt is not equal style");
}
}
// set params to values for initial force calculation
// needs to happen here in init() instead of setup()
// because modify->setup() is called after pre-Verlet forces are computed
/* ---------------------------------------------------------------------- */
pre_force(0);
void FixAdapt::setup_pre_force(int vflag)
{
pre_force(vflag);
}
/* ---------------------------------------------------------------------- */