use strmatch() consistently to detect respa and verlet runstyles with optional suffix
This commit is contained in:
@ -59,7 +59,7 @@ int FixLineForce::setmask()
|
||||
|
||||
void FixLineForce::setup(int vflag)
|
||||
{
|
||||
if (strstr(update->integrate_style,"verlet"))
|
||||
if (utils::strmatch(update->integrate_style,"^verlet"))
|
||||
post_force(vflag);
|
||||
else {
|
||||
int nlevels_respa = ((Respa *) update->integrate)->nlevels;
|
||||
|
||||
Reference in New Issue
Block a user