Commit c2831bbc authored by sjplimp's avatar sjplimp
Browse files

git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@3000 f3b2605a-c512-4ea7-a41b-209d697bcdaa
parent e2b30878
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -125,7 +125,8 @@ int DumpAtom::modify_param(int narg, char **arg)

void DumpAtom::write_header(int ndump)
{
  if (me == 0) (this->*header_choice)(ndump);
  if (multiproc) (this->*header_choice)(ndump);
  else if (me == 0) (this->*header_choice)(ndump);
}

/* ---------------------------------------------------------------------- */
+2 −1
Original line number Diff line number Diff line
@@ -225,7 +225,8 @@ void DumpCustom::init()

void DumpCustom::write_header(int ndump)
{
  if (me == 0) (this->*header_choice)(ndump);
  if (multiproc) (this->*header_choice)(ndump);
  else if (me == 0) (this->*header_choice)(ndump);
}

/* ---------------------------------------------------------------------- */