update error message

This commit is contained in:
Yifan Li李一帆
2023-06-06 18:17:39 -04:00
committed by GitHub
parent 5ff6fd9aad
commit f83867787c

View File

@ -155,7 +155,7 @@ FixPIMDLangevin::FixPIMDLangevin(LAMMPS *lmp, int narg, char **arg) :
pstat_flag = 1;
} else
error->universe_all(FLERR,
"Unknown ensemble parameter for fix pimd/langevin. Only nve and nvt "
"Unknown ensemble parameter for fix pimd/langevin. Only nve, nvt, nph, and npt "
"ensembles are supported!");
} else if (strcmp(arg[i], "fmass") == 0) {
fmass = utils::numeric(FLERR, arg[i + 1], false, lmp);