improved error messages in a bunch of region commands

This commit is contained in:
vpalkar
2022-08-15 15:04:18 -04:00
parent d9320c61bb
commit c1f81eb640
7 changed files with 21 additions and 17 deletions

View File

@ -79,7 +79,7 @@ RegSphere::RegSphere(LAMMPS *lmp, int narg, char **arg) :
// error check
if (radius < 0.0) error->all(FLERR,"Illegal region sphere command");
if (radius < 0.0) error->all(FLERR,"Illegal region sphere radius: {}", radius);
// extent of sphere
// for variable radius, uses initial radius and origin for variable center