forked from lijiext/lammps
silence compiler warnings
This commit is contained in:
parent
fb7923df06
commit
2ba7abe57e
|
@ -32,16 +32,14 @@
|
|||
|
||||
using namespace LAMMPS_NS;
|
||||
|
||||
MLIAPData::MLIAPData(LAMMPS *lmp,
|
||||
int gradgradflag_in, int *map_in, class MLIAPModel* model_in,
|
||||
class MLIAPDescriptor* descriptor_in, class PairMLIAP* pairmliap_in) :
|
||||
Pointers(lmp),
|
||||
list(NULL),
|
||||
gradforce(NULL),
|
||||
betas(NULL), descriptors(NULL), gamma_row_index(NULL), gamma_col_index(NULL),
|
||||
gamma(NULL), egradient(NULL), model(NULL), descriptor(NULL),
|
||||
iatoms(NULL), ielems(NULL), numneighs(NULL),
|
||||
jatoms(NULL), jelems(NULL), rij(NULL), graddesc(NULL)
|
||||
MLIAPData::MLIAPData(LAMMPS *lmp, int gradgradflag_in, int *map_in,
|
||||
class MLIAPModel* model_in,
|
||||
class MLIAPDescriptor* descriptor_in,
|
||||
class PairMLIAP* pairmliap_in) :
|
||||
Pointers(lmp), gradforce(NULL), betas(NULL), descriptors(NULL), gamma(NULL),
|
||||
gamma_row_index(NULL), gamma_col_index(NULL), egradient(NULL),
|
||||
numneighs(NULL), iatoms(NULL), ielems(NULL), jatoms(NULL), jelems(NULL),
|
||||
rij(NULL), graddesc(NULL), model(NULL), descriptor(NULL), list(NULL)
|
||||
{
|
||||
gradgradflag = gradgradflag_in;
|
||||
map = map_in;
|
||||
|
|
|
@ -68,8 +68,8 @@ class MLIAPData : protected Pointers {
|
|||
class PairMLIAP *pairmliap; // access to pair tally functions
|
||||
|
||||
private:
|
||||
class MLIAPModel* model;
|
||||
class MLIAPDescriptor* descriptor;
|
||||
class MLIAPModel *model;
|
||||
class MLIAPDescriptor *descriptor;
|
||||
|
||||
int nmax;
|
||||
class NeighList *list; // LAMMPS neighbor list
|
||||
|
|
Loading…
Reference in New Issue