Commit 44488198 authored by sjplimp's avatar sjplimp Committed by GitHub
Browse files

Merge pull request #274 from andeplane/IP_POEMS

Initialize pointers in POEMS
parents 300ac303 95a7f716
Loading
Loading
Loading
Loading
+6 −1
Original line number Diff line number Diff line
@@ -62,7 +62,12 @@ static const char cite_fix_poems[] =
------------------------------------------------------------------------- */

FixPOEMS::FixPOEMS(LAMMPS *lmp, int narg, char **arg) :
  Fix(lmp, narg, arg)
  Fix(lmp, narg, arg), step_respa(NULL), natom2body(NULL), 
  atom2body(NULL), displace(NULL), nrigid(NULL), masstotal(NULL), 
  xcm(NULL), vcm(NULL), fcm(NULL), inertia(NULL), ex_space(NULL), 
  ey_space(NULL), ez_space(NULL), angmom(NULL), omega(NULL), 
  torque(NULL), sum(NULL), all(NULL), jointbody(NULL), 
  xjoint(NULL), freelist(NULL), poems(NULL)
{
  if (lmp->citeme) lmp->citeme->add(cite_fix_poems);