fix bug reported in issue #1173
This commit is contained in:
@ -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()
|
||||
{
|
||||
|
||||
|
||||
@ -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);
|
||||
|
||||
@ -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;
|
||||
|
||||
|
||||
@ -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);
|
||||
|
||||
Reference in New Issue
Block a user