rename header keyword to colname

This commit is contained in:
Axel Kohlmeyer
2022-03-31 21:58:35 -04:00
parent e3611c5d73
commit 4042a52db1
2 changed files with 23 additions and 22 deletions

View File

@ -628,7 +628,7 @@ void Thermo::modify_params(int narg, char **arg)
error->all(FLERR, "Illegal thermo_modify command");
iarg += 2;
} else if (strcmp(arg[iarg], "header") == 0) {
} else if (strcmp(arg[iarg], "colname") == 0) {
if (iarg + 2 > narg) error->all(FLERR, "Illegal thermo_modify command");
if (strcmp(arg[iarg + 1], "default") == 0) {
for (int i=0; i < nfield_initial + 1; ++i)