forked from lijiext/lammps
git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@8860 f3b2605a-c512-4ea7-a41b-209d697bcdaa
This commit is contained in:
parent
334c90fc21
commit
ccda8dd203
|
@ -41,6 +41,7 @@ using namespace LAMMPS_NS;
|
|||
PairLJCharmmCoulPPPMOMP::PairLJCharmmCoulPPPMOMP(LAMMPS *lmp) :
|
||||
PairLJCharmmCoulLong(lmp), ThrOMP(lmp, THR_PAIR|THR_PROXY)
|
||||
{
|
||||
proxyflag = 1;
|
||||
suffix_flag |= Suffix::OMP;
|
||||
respa_enable = 0;
|
||||
nproxy=1;
|
||||
|
@ -55,9 +56,6 @@ void PairLJCharmmCoulPPPMOMP::init_style()
|
|||
if (comm->nthreads < 2)
|
||||
error->all(FLERR,"need at least two threads per MPI task for this pair style");
|
||||
|
||||
if (strcmp(force->kspace_style,"pppm/proxy") != 0)
|
||||
error->all(FLERR,"kspace style pppm/proxy is required with this pair style");
|
||||
|
||||
kspace = static_cast<PPPMProxy *>(force->kspace);
|
||||
|
||||
PairLJCharmmCoulLong::init_style();
|
||||
|
|
|
@ -41,6 +41,7 @@ using namespace LAMMPS_NS;
|
|||
PairLJClass2CoulPPPMOMP::PairLJClass2CoulPPPMOMP(LAMMPS *lmp) :
|
||||
PairLJClass2CoulLong(lmp), ThrOMP(lmp, THR_PAIR|THR_PROXY)
|
||||
{
|
||||
proxyflag = 1;
|
||||
suffix_flag |= Suffix::OMP;
|
||||
respa_enable = 0;
|
||||
nproxy=1;
|
||||
|
@ -55,9 +56,6 @@ void PairLJClass2CoulPPPMOMP::init_style()
|
|||
if (comm->nthreads < 2)
|
||||
error->all(FLERR,"need at least two threads per MPI task for this pair style");
|
||||
|
||||
if (strcmp(force->kspace_style,"pppm/proxy") != 0)
|
||||
error->all(FLERR,"kspace style pppm/proxy is required with this pair style");
|
||||
|
||||
kspace = static_cast<PPPMProxy *>(force->kspace);
|
||||
|
||||
PairLJClass2CoulLong::init_style();
|
||||
|
|
|
@ -41,6 +41,7 @@ using namespace LAMMPS_NS;
|
|||
PairLJCutCoulPPPMOMP::PairLJCutCoulPPPMOMP(LAMMPS *lmp) :
|
||||
PairLJCutCoulLong(lmp), ThrOMP(lmp, THR_PAIR|THR_PROXY)
|
||||
{
|
||||
proxyflag = 1;
|
||||
suffix_flag |= Suffix::OMP;
|
||||
respa_enable = 0;
|
||||
nproxy=1;
|
||||
|
@ -55,9 +56,6 @@ void PairLJCutCoulPPPMOMP::init_style()
|
|||
if (comm->nthreads < 2)
|
||||
error->all(FLERR,"need at least two threads per MPI task for this pair style");
|
||||
|
||||
if (strcmp(force->kspace_style,"pppm/proxy") != 0)
|
||||
error->all(FLERR,"kspace style pppm/proxy is required with this pair style");
|
||||
|
||||
kspace = static_cast<PPPMProxy *>(force->kspace);
|
||||
|
||||
PairLJCutCoulLong::init_style();
|
||||
|
|
|
@ -43,6 +43,7 @@ using namespace LAMMPS_NS;
|
|||
PairLJCutCoulPPPMTIP4POMP::PairLJCutCoulPPPMTIP4POMP(LAMMPS *lmp) :
|
||||
PairLJCutCoulLongTIP4P(lmp), ThrOMP(lmp, THR_PAIR|THR_PROXY)
|
||||
{
|
||||
proxyflag = 1;
|
||||
suffix_flag |= Suffix::OMP;
|
||||
respa_enable = 0;
|
||||
nproxy=1;
|
||||
|
@ -62,9 +63,6 @@ void PairLJCutCoulPPPMTIP4POMP::init_style()
|
|||
if (comm->nthreads < 2)
|
||||
error->all(FLERR,"need at least two threads per MPI task for this pair style");
|
||||
|
||||
if (strcmp(force->kspace_style,"pppm/tip4p/proxy") != 0)
|
||||
error->all(FLERR,"kspace style pppm/tip4p/proxy is required with this pair style");
|
||||
|
||||
kspace = static_cast<PPPMTIP4PProxy *>(force->kspace);
|
||||
|
||||
PairLJCutCoulLongTIP4P::init_style();
|
||||
|
|
Loading…
Reference in New Issue