From 2926854b8d5621345493e4e47ff418b1328279bf Mon Sep 17 00:00:00 2001 From: sjplimp <sjplimp@f3b2605a-c512-4ea7-a41b-209d697bcdaa> Date: Sat, 19 Dec 2015 18:32:29 +0000 Subject: [PATCH] git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@14390 f3b2605a-c512-4ea7-a41b-209d697bcdaa --- src/domain.cpp | 4 ++-- src/finish.cpp | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/domain.cpp b/src/domain.cpp index 678b33b4f8..217f30c4ed 100644 --- a/src/domain.cpp +++ b/src/domain.cpp @@ -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 diff --git a/src/finish.cpp b/src/finish.cpp index d622dedb1a..40f54480f9 100644 --- a/src/finish.cpp +++ b/src/finish.cpp @@ -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;