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

This commit is contained in:
sjplimp
2011-06-20 16:42:39 +00:00
parent eda731d3bd
commit f62b317d37
75 changed files with 111 additions and 111 deletions

View File

@ -154,7 +154,7 @@ void FixAveForce::init()
if (xstyle == EQUAL || ystyle == EQUAL || zstyle == EQUAL) varflag = EQUAL;
else varflag = CONSTANT;
if (strcmp(update->integrate_style,"respa") == 0)
if (strstr(update->integrate_style,"respa"))
nlevels_respa = ((Respa *) update->integrate)->nlevels;
}
@ -162,7 +162,7 @@ void FixAveForce::init()
void FixAveForce::setup(int vflag)
{
if (strcmp(update->integrate_style,"verlet") == 0)
if (strstr(update->integrate_style,"verlet"))
post_force(vflag);
else
for (int ilevel = 0; ilevel < nlevels_respa; ilevel++) {