git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@11345 f3b2605a-c512-4ea7-a41b-209d697bcdaa
This commit is contained in:
@ -186,6 +186,12 @@ int FixOMP::setmask()
|
|||||||
|
|
||||||
void FixOMP::init()
|
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)
|
if ((strstr(update->integrate_style,"respa") != NULL)
|
||||||
&& (strstr(update->integrate_style,"respa/omp") == NULL))
|
&& (strstr(update->integrate_style,"respa/omp") == NULL))
|
||||||
error->all(FLERR,"Need to use respa/omp for r-RESPA with /omp styles");
|
error->all(FLERR,"Need to use respa/omp for r-RESPA with /omp styles");
|
||||||
|
|||||||
Reference in New Issue
Block a user