use strmatch() consistently to detect respa and verlet runstyles with optional suffix
This commit is contained in:
@ -462,7 +462,7 @@ void FixAdapt::init()
|
||||
fix_chg = (FixStore *) modify->fix[ifix];
|
||||
}
|
||||
|
||||
if (strstr(update->integrate_style,"respa"))
|
||||
if (utils::strmatch(update->integrate_style,"^respa"))
|
||||
nlevels_respa = ((Respa *) update->integrate)->nlevels;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user