more specific style matching for kspace

This commit is contained in:
Axel Kohlmeyer
2019-01-03 13:41:02 -05:00
parent bb36e6e3c8
commit 37821f4fa4
3 changed files with 4 additions and 3 deletions

View File

@ -35,6 +35,7 @@
#include "output.h"
#include "memory.h"
#include "error.h"
#include "utils.h"
#ifdef LMP_USER_OMP
#include "modify.h"
@ -101,7 +102,7 @@ void Finish::end(int flag)
if (update->whichflag == 1 &&
strncmp(update->integrate_style,"verlet/split",12) == 0 &&
universe->iworld == 1) neighflag = 0;
if (force->kspace && force->kspace_match("pppm",0)
if (force->kspace && force->kspace_match("^pppm",0)
&& force->kspace->fftbench) fftflag = 1;
}
if (flag == 2) prdflag = timeflag = histoflag = neighflag = 1;