git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@14390 f3b2605a-c512-4ea7-a41b-209d697bcdaa

This commit is contained in:
sjplimp 2015-12-19 18:32:29 +00:00
parent df8b58a8c6
commit 2926854b8d
2 changed files with 3 additions and 3 deletions

View File

@ -676,7 +676,7 @@ void Domain::image_check()
if (!atom->molecular) return;
if (!xperiodic && !yperiodic && (dimension == 2 || !zperiodic)) return;
if (strcmp(update->integrate_style,"verlet/split") == 0 &&
if (strncmp(update->integrate_style,"verlet/split",12) == 0 &&
universe->iworld != 0) return;
// communicate unwrapped position of owned atoms to ghost atoms
@ -786,7 +786,7 @@ void Domain::box_too_small_check()
if (!atom->molecular) return;
if (!xperiodic && !yperiodic && (dimension == 2 || !zperiodic)) return;
if (strcmp(update->integrate_style,"verlet/split") == 0 &&
if (strncmp(update->integrate_style,"verlet/split",12) == 0 &&
universe->iworld != 0) return;
// maxbondall = longest current bond length

View File

@ -94,7 +94,7 @@ void Finish::end(int flag)
timeflag = histoflag = 1;
neighflag = 1;
if (update->whichflag == 1 &&
strcmp(update->integrate_style,"verlet/split") == 0 &&
strncmp(update->integrate_style,"verlet/split",12) == 0 &&
universe->iworld == 1) neighflag = 0;
if (force->kspace && force->kspace_match("pppm",0)
&& force->kspace->fftbench) fftflag = 1;