From 29574eaa45619be3416f3b4c3bba8c39b1579b10 Mon Sep 17 00:00:00 2001 From: Axel Kohlmeyer Date: Fri, 11 Oct 2019 17:19:47 +0200 Subject: [PATCH] added "likewise" as suggested by @sjplimp --- doc/src/Errors_warnings.txt | 48 ++++++++++++++++++------------------- src/force.cpp | 6 ++--- src/force.h | 6 ++--- 3 files changed, 30 insertions(+), 30 deletions(-) diff --git a/doc/src/Errors_warnings.txt b/doc/src/Errors_warnings.txt index 8d77f84af3..749731fc4f 100644 --- a/doc/src/Errors_warnings.txt +++ b/doc/src/Errors_warnings.txt @@ -31,30 +31,6 @@ Doc page with "ERROR messages"_Errors_messages.html :dlb -{1-2 special neighbor interactions != 1.0} :dt - -The topology contains bonds, but there is no bond style defined -and a 1-2 special neighbor scaling factor was not 1.0. This -means that pair style interactions may have scaled or missing -pairs in the neighbor list in expectation of interactions for -those pairs being computed from the bond style. :dd - -{1-3 special neighbor interactions != 1.0} :dt - -The topology contains angles, but there is no angle style defined -and a 1-3 special neighbor scaling factor was not 1.0. This -means that pair style interactions may have scaled or missing -pairs in the neighbor list in expectation of interactions for -those pairs being computed from the angle style. :dd - -{1-4 special neighbor interactions != 1.0} :dt - -The topology contains dihedrals, but there is no dihedral style defined -and a 1-4 special neighbor scaling factor was not 1.0. This -means that pair style interactions may have scaled or missing -pairs in the neighbor list in expectation of interactions for -those pairs being computed from the dihedral style. :dd - {Adjusting Coulombic cutoff for MSM, new cutoff = %g} :dt The adjust/cutoff command is turned on and the Coulombic cutoff has been @@ -451,6 +427,30 @@ This library function cannot be used if atom IDs are not defined or are not consecutively numbered, or if no atom map is defined. See the atom_modify command for details about atom maps. :dd +{Likewise 1-2 special neighbor interactions != 1.0} :dt + +The topology contains bonds, but there is no bond style defined +and a 1-2 special neighbor scaling factor was not 1.0. This +means that pair style interactions may have scaled or missing +pairs in the neighbor list in expectation of interactions for +those pairs being computed from the bond style. :dd + +{Likewise 1-3 special neighbor interactions != 1.0} :dt + +The topology contains angles, but there is no angle style defined +and a 1-3 special neighbor scaling factor was not 1.0. This +means that pair style interactions may have scaled or missing +pairs in the neighbor list in expectation of interactions for +those pairs being computed from the angle style. :dd + +{Likewise 1-4 special neighbor interactions != 1.0} :dt + +The topology contains dihedrals, but there is no dihedral style defined +and a 1-4 special neighbor scaling factor was not 1.0. This +means that pair style interactions may have scaled or missing +pairs in the neighbor list in expectation of interactions for +those pairs being computed from the dihedral style. :dd + {Lost atoms via change_box: original %ld current %ld} :dt The command options you have used caused atoms to be lost. :dd diff --git a/src/force.cpp b/src/force.cpp index dc55d04d23..1cc6b3e01b 100644 --- a/src/force.cpp +++ b/src/force.cpp @@ -203,17 +203,17 @@ void Force::init() if (!bond && (atom->nbonds > 0)) { error->warning(FLERR,"Bonds are defined but no bond style is set"); if ((special_lj[1] != 1.0) || (special_coul[1] != 1.0)) - error->warning(FLERR,"1-2 special neighbor interactions != 1.0"); + error->warning(FLERR,"Likewise 1-2 special neighbor interactions != 1.0"); } if (!angle && (atom->nangles > 0)) { error->warning(FLERR,"Angles are defined but no angle style is set"); if ((special_lj[2] != 1.0) || (special_coul[2] != 1.0)) - error->warning(FLERR,"1-3 special neighbor interactions != 1.0"); + error->warning(FLERR,"Likewise 1-3 special neighbor interactions != 1.0"); } if (!dihedral && (atom->ndihedrals > 0)) { error->warning(FLERR,"Dihedrals are defined but no dihedral style is set"); if ((special_lj[3] != 1.0) || (special_coul[3] != 1.0)) - error->warning(FLERR,"1-4 special neighbor interactions != 1.0"); + error->warning(FLERR,"Likewise 1-4 special neighbor interactions != 1.0"); } if (!improper && (atom->nimpropers > 0)) error->warning(FLERR,"Impropers are defined but no improper style is set"); diff --git a/src/force.h b/src/force.h index 2185a2e64d..2dcbdbdd75 100644 --- a/src/force.h +++ b/src/force.h @@ -246,7 +246,7 @@ W: Impropers are defined but no improper style is set The topology contains impropers, but there are no improper forces computed since there was no improper_style command. -W: 1-2 special neighbor interactions != 1.0 +W: Likewise 1-2 special neighbor interactions != 1.0 The topology contains bonds, but there is no bond style defined and a 1-2 special neighbor scaling factor was not 1.0. This @@ -254,7 +254,7 @@ means that pair style interactions may have scaled or missing pairs in the neighbor list in expectation of interactions for those pairs being computed from the bond style. -W: 1-3 special neighbor interactions != 1.0 +W: Likewise 1-3 special neighbor interactions != 1.0 The topology contains angles, but there is no angle style defined and a 1-3 special neighbor scaling factor was not 1.0. This @@ -262,7 +262,7 @@ means that pair style interactions may have scaled or missing pairs in the neighbor list in expectation of interactions for those pairs being computed from the angle style. -W: 1-4 special neighbor interactions != 1.0 +W: Likewise 1-4 special neighbor interactions != 1.0 The topology contains dihedrals, but there is no dihedral style defined and a 1-4 special neighbor scaling factor was not 1.0. This