add explanations for "before/after simulation box is defined" errors

This commit is contained in:
Axel Kohlmeyer
2025-03-21 20:17:17 -04:00
parent 649fd86e11
commit 1b58a4695b
45 changed files with 107 additions and 73 deletions

View File

@ -92,7 +92,7 @@ void Group::assign(int narg, char **arg)
{
int i;
if (domain->box_exist == 0) error->all(FLERR, "Group command before simulation box is defined");
if (domain->box_exist == 0) error->all(FLERR, "Group command before simulation box is defined" + utils::errorurl(33));
if (narg < 2) utils::missing_cmd_args(FLERR, "group", error);
// delete the group if not being used elsewhere