Added one line of diagnostic output to create_atoms command
This commit is contained in:
@ -596,10 +596,13 @@ void CreateAtoms::command(int narg, char **arg)
|
|||||||
// print status
|
// print status
|
||||||
|
|
||||||
MPI_Barrier(world);
|
MPI_Barrier(world);
|
||||||
if (me == 0)
|
if (me == 0) {
|
||||||
utils::logmesg(lmp,"Created {} atoms\n"
|
utils::logmesg(lmp,"Created {} atoms\n", atom->natoms - natoms_previous);
|
||||||
" create_atoms CPU = {:.3f} seconds\n",
|
if (scaleflag) domain->print_box(" using lattice units in ");
|
||||||
atom->natoms - natoms_previous, MPI_Wtime() - time1);
|
else domain->print_box(" using box units in ");
|
||||||
|
utils::logmesg(lmp," create_atoms CPU = {:.3f} seconds\n",
|
||||||
|
MPI_Wtime() - time1);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/* ----------------------------------------------------------------------
|
/* ----------------------------------------------------------------------
|
||||||
|
|||||||
Reference in New Issue
Block a user