git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@9751 f3b2605a-c512-4ea7-a41b-209d697bcdaa
This commit is contained in:
@ -162,10 +162,8 @@ void DumpAtom::header_binary(bigint ndump)
|
||||
fwrite(&boxzlo,sizeof(double),1,fp);
|
||||
fwrite(&boxzhi,sizeof(double),1,fp);
|
||||
fwrite(&size_one,sizeof(int),1,fp);
|
||||
if (multiproc) {
|
||||
int one = 1;
|
||||
fwrite(&one,sizeof(int),1,fp);
|
||||
} else fwrite(&nprocs,sizeof(int),1,fp);
|
||||
if (multiproc) fwrite(&nclusterprocs,sizeof(int),1,fp);
|
||||
else fwrite(&nprocs,sizeof(int),1,fp);
|
||||
}
|
||||
|
||||
/* ---------------------------------------------------------------------- */
|
||||
@ -186,10 +184,8 @@ void DumpAtom::header_binary_triclinic(bigint ndump)
|
||||
fwrite(&boxxz,sizeof(double),1,fp);
|
||||
fwrite(&boxyz,sizeof(double),1,fp);
|
||||
fwrite(&size_one,sizeof(int),1,fp);
|
||||
if (multiproc) {
|
||||
int one = 1;
|
||||
fwrite(&one,sizeof(int),1,fp);
|
||||
} else fwrite(&nprocs,sizeof(int),1,fp);
|
||||
if (multiproc) fwrite(&nclusterprocs,sizeof(int),1,fp);
|
||||
else fwrite(&nprocs,sizeof(int),1,fp);
|
||||
}
|
||||
|
||||
/* ---------------------------------------------------------------------- */
|
||||
|
||||
Reference in New Issue
Block a user