rename fix STORE_LOCAL to STORE/LOCAL for consistency

This commit is contained in:
Axel Kohlmeyer
2022-08-05 02:57:38 -04:00
parent a84c2ab18a
commit 681ad88f08
5 changed files with 11 additions and 12 deletions

View File

@ -29,16 +29,16 @@ using namespace FixConst;
FixStoreLocal::FixStoreLocal(LAMMPS *lmp, int narg, char **arg) :
Fix(lmp, narg, arg), nvalues(0), vector(nullptr), array(nullptr)
{
if (narg != 5) error->all(FLERR, "Illegal fix store/local command");
if (narg != 5) error->all(FLERR, "Illegal fix STORE/LOCAL command");
local_flag = 1;
nreset = utils::inumeric(FLERR, arg[3], false, lmp);
if (nreset <= 0) error->all(FLERR, "Illegal fix store/local command");
if (nreset <= 0) error->all(FLERR, "Illegal fix STORE/LOCAL command");
local_freq = nreset;
nvalues = utils::inumeric(FLERR, arg[4], false, lmp);
if (nvalues <= 0) error->all(FLERR, "Illegal fix store/local command");
if (nvalues <= 0) error->all(FLERR, "Illegal fix STORE/LOCAL command");
if (nvalues == 1)
size_local_cols = 0;
else