git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@3000 f3b2605a-c512-4ea7-a41b-209d697bcdaa
This commit is contained in:
@ -125,7 +125,8 @@ int DumpAtom::modify_param(int narg, char **arg)
|
|||||||
|
|
||||||
void DumpAtom::write_header(int ndump)
|
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)
|
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);
|
||||||
}
|
}
|
||||||
|
|
||||||
/* ---------------------------------------------------------------------- */
|
/* ---------------------------------------------------------------------- */
|
||||||
|
|||||||
Reference in New Issue
Block a user