mirror of https://github.com/lammps/lammps.git
git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@3000 f3b2605a-c512-4ea7-a41b-209d697bcdaa
This commit is contained in:
parent
e2b3087840
commit
c2831bbc36
|
@ -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);
|
||||
}
|
||||
|
||||
/* ---------------------------------------------------------------------- */
|
||||
|
|
|
@ -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);
|
||||
}
|
||||
|
||||
/* ---------------------------------------------------------------------- */
|
||||
|
|
Loading…
Reference in New Issue