use strmatch() consistently to detect respa and verlet runstyles with optional suffix
This commit is contained in:
@ -750,7 +750,7 @@ void FixRigid::init()
|
||||
dtf = 0.5 * update->dt * force->ftm2v;
|
||||
dtq = 0.5 * update->dt;
|
||||
|
||||
if (strstr(update->integrate_style,"respa"))
|
||||
if (utils::strmatch(update->integrate_style,"^respa"))
|
||||
step_respa = ((Respa *) update->integrate)->step;
|
||||
|
||||
// setup rigid bodies, using current atom info. if reinitflag is not set,
|
||||
|
||||
Reference in New Issue
Block a user