From 7e5b15bb90c4cf5c82532fd532b943a6f49d1f4d Mon Sep 17 00:00:00 2001 From: sjplimp Date: Mon, 27 Jan 2014 20:53:04 +0000 Subject: [PATCH] git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@11345 f3b2605a-c512-4ea7-a41b-209d697bcdaa --- src/USER-OMP/fix_omp.cpp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/USER-OMP/fix_omp.cpp b/src/USER-OMP/fix_omp.cpp index a29451a2b1..f5808a3457 100644 --- a/src/USER-OMP/fix_omp.cpp +++ b/src/USER-OMP/fix_omp.cpp @@ -186,6 +186,12 @@ int FixOMP::setmask() void FixOMP::init() { + // USER-OMP package cannot be used with atom_style template + + if (atom->molecular == 2) + error->all(FLERR,"USER-OMP package does not (yet) work with " + "atom_style template"); + if ((strstr(update->integrate_style,"respa") != NULL) && (strstr(update->integrate_style,"respa/omp") == NULL)) error->all(FLERR,"Need to use respa/omp for r-RESPA with /omp styles");