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

@ -223,7 +223,7 @@ void VerletSplit::init()
if (!force->kspace && comm->me == 0)
error->warning(FLERR,"No Kspace calculation with verlet/split");
if (force->kspace_match("tip4p",0)) tip4p_flag = 1;
if (force->kspace_match("/tip4p",0)) tip4p_flag = 1;
else tip4p_flag = 0;
// currently TIP4P does not work with verlet/split, so generate error