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

@ -317,7 +317,7 @@ void Neighbor::init()
// rRESPA cutoffs
int respa = 0;
if (update->whichflag == 1 && strcmp(update->integrate_style,"respa") == 0) {
if (update->whichflag == 1 && strstr(update->integrate_style,"respa")) {
if (((Respa *) update->integrate)->level_inner >= 0) respa = 1;
if (((Respa *) update->integrate)->level_middle >= 0) respa = 2;
}