From 2d93edab1b4b7631eaf50d87a726d237d56cbccd Mon Sep 17 00:00:00 2001 From: Aidan Thompson Date: Thu, 22 Jul 2021 12:22:34 -0600 Subject: [PATCH] Added one line of diagnostic output to create_atoms command --- src/create_atoms.cpp | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/src/create_atoms.cpp b/src/create_atoms.cpp index 02efba7e93..96e1476228 100644 --- a/src/create_atoms.cpp +++ b/src/create_atoms.cpp @@ -596,10 +596,13 @@ void CreateAtoms::command(int narg, char **arg) // print status MPI_Barrier(world); - if (me == 0) - utils::logmesg(lmp,"Created {} atoms\n" - " create_atoms CPU = {:.3f} seconds\n", - atom->natoms - natoms_previous, MPI_Wtime() - time1); + if (me == 0) { + utils::logmesg(lmp,"Created {} atoms\n", atom->natoms - natoms_previous); + if (scaleflag) domain->print_box(" using lattice units in "); + else domain->print_box(" using box units in "); + utils::logmesg(lmp," create_atoms CPU = {:.3f} seconds\n", + MPI_Wtime() - time1); + } } /* ----------------------------------------------------------------------