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

@ -183,7 +183,7 @@ void FixAddForce::init()
update->whichflag == 2 && estyle == NONE)
error->all("Must use variable energy with fix addforce");
if (strcmp(update->integrate_style,"respa") == 0)
if (strstr(update->integrate_style,"respa"))
nlevels_respa = ((Respa *) update->integrate)->nlevels;
}
@ -191,7 +191,7 @@ void FixAddForce::init()
void FixAddForce::setup(int vflag)
{
if (strcmp(update->integrate_style,"verlet") == 0)
if (strstr(update->integrate_style,"verlet"))
post_force(vflag);
else {
((Respa *) update->integrate)->copy_flevel_f(nlevels_respa-1);