fix bug reported in issue #1173

This commit is contained in:
Axel Kohlmeyer
2018-10-23 11:58:00 -04:00
parent 6107f00e9d
commit b6b6270716
4 changed files with 4 additions and 8 deletions

View File

@ -59,8 +59,7 @@ enum{FORWARD_IK, FORWARD_AD, FORWARD_IK_PERATOM, FORWARD_AD_PERATOM,
/* ---------------------------------------------------------------------- */
PPPMDispIntel::PPPMDispIntel(LAMMPS *lmp, int narg, char **arg) :
PPPMDisp(lmp, narg, arg)
PPPMDispIntel::PPPMDispIntel(LAMMPS *lmp) : PPPMDisp(lmp)
{
suffix_flag |= Suffix::INTEL;
@ -97,13 +96,10 @@ PPPMDispIntel::~PPPMDispIntel()
memory->destroy(drho6_lookup);
}
/* ----------------------------------------------------------------------
called once before run
------------------------------------------------------------------------- */
void PPPMDispIntel::init()
{

View File

@ -31,7 +31,7 @@ namespace LAMMPS_NS {
class PPPMDispIntel : public PPPMDisp {
public:
PPPMDispIntel(class LAMMPS *, int, char **);
PPPMDispIntel(class LAMMPS *);
virtual ~PPPMDispIntel();
virtual void init();
virtual void compute(int, int);

View File

@ -57,7 +57,7 @@ enum{FORWARD_IK,FORWARD_AD,FORWARD_IK_PERATOM,FORWARD_AD_PERATOM};
/* ---------------------------------------------------------------------- */
PPPMIntel::PPPMIntel(LAMMPS *lmp, int narg, char **arg) : PPPM(lmp, narg, arg)
PPPMIntel::PPPMIntel(LAMMPS *lmp) : PPPM(lmp)
{
suffix_flag |= Suffix::INTEL;

View File

@ -34,7 +34,7 @@ namespace LAMMPS_NS {
class PPPMIntel : public PPPM {
public:
PPPMIntel(class LAMMPS *, int, char **);
PPPMIntel(class LAMMPS *);
virtual ~PPPMIntel();
virtual void init();
virtual void compute(int, int);