silence compiler warnings

This commit is contained in:
Axel Kohlmeyer 2020-07-16 21:14:31 -04:00
parent fb7923df06
commit 2ba7abe57e
No known key found for this signature in database
GPG Key ID: D9B44E93BF0C375A
2 changed files with 10 additions and 12 deletions

View File

@ -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;

View File

@ -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