improved error messages in a bunch of region commands
This commit is contained in:
@ -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
|
||||
|
||||
Reference in New Issue
Block a user