git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@3000 f3b2605a-c512-4ea7-a41b-209d697bcdaa

This commit is contained in:
sjplimp 2009-07-22 16:34:52 +00:00
parent e2b3087840
commit c2831bbc36
2 changed files with 4 additions and 2 deletions

View File

@ -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);
}
/* ---------------------------------------------------------------------- */

View File

@ -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);
}
/* ---------------------------------------------------------------------- */