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

@ -45,7 +45,9 @@ enum{DIST_UNIFORM,DIST_GAUSSIAN};
/* ---------------------------------------------------------------------- */
FixDeposit::FixDeposit(LAMMPS *lmp, int narg, char **arg) :
Fix(lmp, narg, arg)
Fix(lmp, narg, arg), idregion(NULL), idrigid(NULL),
idshake(NULL), onemols(NULL), molfrac(NULL), coords(NULL), imageflags(NULL),
fixrigid(NULL), fixshake(NULL), random(NULL)
{
if (narg < 7) error->all(FLERR,"Illegal fix deposit command");