initialize all pointers to null
This commit is contained in:
@ -31,7 +31,9 @@ using namespace LAMMPS_NS;
|
||||
|
||||
/* ---------------------------------------------------------------------- */
|
||||
|
||||
PairBornGauss::PairBornGauss(LAMMPS *lmp) : Pair(lmp)
|
||||
PairBornGauss::PairBornGauss(LAMMPS *lmp) :
|
||||
Pair(lmp), cut(nullptr), biga0(nullptr), alpha(nullptr), biga1(nullptr), beta(nullptr),
|
||||
r0(nullptr), offset(nullptr)
|
||||
{
|
||||
single_enable = 1;
|
||||
respa_enable = 0;
|
||||
|
||||
Reference in New Issue
Block a user