forked from lijiext/lammps
flag 'allocated' must be initialized in constructor
This commit is contained in:
parent
51e4a568c9
commit
80c5b01bfc
|
@ -57,6 +57,7 @@ PairMEAM::PairMEAM(LAMMPS *lmp) : Pair(lmp)
|
||||||
arho1 = arho2 = arho3 = arho3b = t_ave = tsq_ave = NULL;
|
arho1 = arho2 = arho3 = arho3b = t_ave = tsq_ave = NULL;
|
||||||
|
|
||||||
maxneigh = 0;
|
maxneigh = 0;
|
||||||
|
allocated = 0;
|
||||||
scrfcn = dscrfcn = fcpair = NULL;
|
scrfcn = dscrfcn = fcpair = NULL;
|
||||||
|
|
||||||
nelements = 0;
|
nelements = 0;
|
||||||
|
|
Loading…
Reference in New Issue