From afd39eb9b89c18a1d16a56ad371cd25ffe72fe81 Mon Sep 17 00:00:00 2001 From: Axel Kohlmeyer <akohlmey@gmail.com> Date: Sun, 11 Feb 2018 16:17:24 +0100 Subject: [PATCH] correctly represent, that the molecule summary refers to the largest type number and not the number of types --- src/molecule.cpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/molecule.cpp b/src/molecule.cpp index b93cf24e7e..78dc4b82b3 100644 --- a/src/molecule.cpp +++ b/src/molecule.cpp @@ -144,17 +144,17 @@ Molecule::Molecule(LAMMPS *lmp, int narg, char **arg, int &index) : if (me == 0) { if (screen) fprintf(screen,"Read molecule %s:\n" - " %d atoms with %d types\n %d bonds with %d types\n" - " %d angles with %d types\n %d dihedrals with %d types\n" - " %d impropers with %d types\n", + " %d atoms with max type %d\n %d bonds with max type %d\n" + " %d angles with max type %d\n %d dihedrals with max type %d\n" + " %d impropers with max type %d\n", id,natoms,ntypes, nbonds,nbondtypes,nangles,nangletypes, ndihedrals,ndihedraltypes,nimpropers,nimpropertypes); if (logfile) fprintf(logfile,"Read molecule %s:\n" - " %d atoms with %d types\n %d bonds with %d types\n" - " %d angles with %d types\n %d dihedrals with %d types\n" - " %d impropers with %d types\n", + " %d atoms with max type %d\n %d bonds with max type %d\n" + " %d angles with max type %d\n %d dihedrals with max type %d\n" + " %d impropers with max type %d\n", id,natoms,ntypes, nbonds,nbondtypes,nangles,nangletypes, ndihedrals,ndihedraltypes,nimpropers,nimpropertypes); -- GitLab