use strmatch() consistently to detect respa and verlet runstyles with optional suffix
This commit is contained in:
@ -149,7 +149,7 @@ void PPPMGPU::init()
|
||||
// GPU precision specific init
|
||||
|
||||
bool respa_value=false;
|
||||
if (strstr(update->integrate_style,"respa"))
|
||||
if (utils::strmatch(update->integrate_style,"^respa"))
|
||||
respa_value=true;
|
||||
|
||||
if (order>8)
|
||||
|
||||
Reference in New Issue
Block a user