consistent formatting
This commit is contained in:
@ -209,7 +209,7 @@ void DumpAtom::header_binary_triclinic(bigint ndump)
|
|||||||
|
|
||||||
void DumpAtom::header_item(bigint ndump)
|
void DumpAtom::header_item(bigint ndump)
|
||||||
{
|
{
|
||||||
fprintf(fp,"ITEM: UNITS %s\n",update->unit_style);
|
fprintf(fp,"ITEM: UNITS\n%s\n",update->unit_style);
|
||||||
fprintf(fp,"ITEM: TIMESTEP\n");
|
fprintf(fp,"ITEM: TIMESTEP\n");
|
||||||
fprintf(fp,BIGINT_FORMAT "\n",update->ntimestep);
|
fprintf(fp,BIGINT_FORMAT "\n",update->ntimestep);
|
||||||
fprintf(fp,"ITEM: NUMBER OF ATOMS\n");
|
fprintf(fp,"ITEM: NUMBER OF ATOMS\n");
|
||||||
@ -225,7 +225,7 @@ void DumpAtom::header_item(bigint ndump)
|
|||||||
|
|
||||||
void DumpAtom::header_item_triclinic(bigint ndump)
|
void DumpAtom::header_item_triclinic(bigint ndump)
|
||||||
{
|
{
|
||||||
fprintf(fp,"ITEM: UNITS %s\n",update->unit_style);
|
fprintf(fp,"ITEM: UNITS\n%s\n",update->unit_style);
|
||||||
fprintf(fp,"ITEM: TIMESTEP\n");
|
fprintf(fp,"ITEM: TIMESTEP\n");
|
||||||
fprintf(fp,BIGINT_FORMAT "\n",update->ntimestep);
|
fprintf(fp,BIGINT_FORMAT "\n",update->ntimestep);
|
||||||
fprintf(fp,"ITEM: NUMBER OF ATOMS\n");
|
fprintf(fp,"ITEM: NUMBER OF ATOMS\n");
|
||||||
|
|||||||
@ -420,7 +420,7 @@ void DumpCustom::header_binary_triclinic(bigint ndump)
|
|||||||
|
|
||||||
void DumpCustom::header_item(bigint ndump)
|
void DumpCustom::header_item(bigint ndump)
|
||||||
{
|
{
|
||||||
fprintf(fp,"ITEM: UNITS %s\n",update->unit_style);
|
fprintf(fp,"ITEM: UNITS\n%s\n",update->unit_style);
|
||||||
fprintf(fp,"ITEM: TIMESTEP\n");
|
fprintf(fp,"ITEM: TIMESTEP\n");
|
||||||
fprintf(fp,BIGINT_FORMAT "\n",update->ntimestep);
|
fprintf(fp,BIGINT_FORMAT "\n",update->ntimestep);
|
||||||
fprintf(fp,"ITEM: NUMBER OF ATOMS\n");
|
fprintf(fp,"ITEM: NUMBER OF ATOMS\n");
|
||||||
|
|||||||
@ -256,7 +256,7 @@ int DumpLocal::modify_param(int narg, char **arg)
|
|||||||
void DumpLocal::write_header(bigint ndump)
|
void DumpLocal::write_header(bigint ndump)
|
||||||
{
|
{
|
||||||
if (me == 0) {
|
if (me == 0) {
|
||||||
fprintf(fp,"ITEM: UNITS %s\n",update->unit_style);
|
fprintf(fp,"ITEM: UNITS\n%s\n",update->unit_style);
|
||||||
fprintf(fp,"ITEM: TIMESTEP\n");
|
fprintf(fp,"ITEM: TIMESTEP\n");
|
||||||
fprintf(fp,BIGINT_FORMAT "\n",update->ntimestep);
|
fprintf(fp,BIGINT_FORMAT "\n",update->ntimestep);
|
||||||
fprintf(fp,"ITEM: NUMBER OF %s\n",label);
|
fprintf(fp,"ITEM: NUMBER OF %s\n",label);
|
||||||
|
|||||||
Reference in New Issue
Block a user