Fix inaccurate error message

This commit is contained in:
Stan Gerald Moore
2021-11-18 08:50:09 -07:00
parent 94b11964f8
commit 15f1c2d960
3 changed files with 6 additions and 5 deletions

View File

@ -228,7 +228,7 @@ void Dump::init()
if (sort_flag) {
if (multiproc > 1)
error->all(FLERR,
"Cannot dump sort when multiple dump files are written");
"Cannot dump sort when 'nfile' or 'fileper' keywords are set to non-default values");
if (sortcol == 0 && atom->tag_enable == 0)
error->all(FLERR,"Cannot dump sort on atom IDs with no atom IDs defined");
if (sortcol && sortcol > size_one)