Initialized pointers in MISC and MOLECULE

This commit is contained in:
Anders Hafreager
2016-11-07 17:15:48 +01:00
parent 77bbf03f0f
commit 1ff75eaba2
12 changed files with 30 additions and 12 deletions

View File

@ -43,7 +43,8 @@ using namespace FixConst;
------------------------------------------------------------------------- */
FixGLD::FixGLD(LAMMPS *lmp, int narg, char **arg) :
Fix(lmp, narg, arg)
Fix(lmp, narg, arg),
step_respa(NULL), prony_c(NULL), prony_tau(NULL), s_gld(NULL), random(NULL)
{
int narg_min = 8;
// Check to make sure we have the minimal number of inputs