improve error messages by printing unrecognized property

This commit is contained in:
Axel Kohlmeyer
2021-06-08 10:58:12 -04:00
parent a32e682697
commit b8236c6402
6 changed files with 13 additions and 13 deletions

View File

@ -908,7 +908,7 @@ void Thermo::parse_fields(char *str)
if ((argi.get_type() == ArgInfo::UNKNOWN)
|| (argi.get_type() == ArgInfo::NONE)
|| (argi.get_dim() > 2))
error->all(FLERR,"Unknown keyword in thermo_style custom command");
error->all(FLERR,"Unknown keyword '{}' in thermo_style custom command",word);
// process zero or one or two trailing brackets
// argindex1,argindex2 = int inside each bracket pair, 0 if no bracket