Commit 7e5b15bb authored by sjplimp's avatar sjplimp
Browse files

git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@11345 f3b2605a-c512-4ea7-a41b-209d697bcdaa
parent 87e52e2a
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -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");