fix_pair.h/cpp: remove modify_param(int, char **)

This commit is contained in:
Yury Lysogorskiy
2022-10-03 19:47:02 +02:00
parent 94ff9cea4c
commit ccdcae0a99
2 changed files with 0 additions and 18 deletions

View File

@ -356,19 +356,3 @@ double FixPair::memory_usage()
else bytes += (double)atom->nmax*ncols * sizeof(double);
return bytes;
}
int FixPair::modify_param(int narg, char **arg) {
int processed_args=0;
int iarg = 0;
while (iarg < narg) {
if (strcmp(arg[iarg], "every") == 0) {
nevery = utils::inumeric(FLERR, arg[iarg+1], false, lmp);
if (nevery < 1) error->all(FLERR, "Illegal fix_modify pair every value: {}", nevery);
iarg += 2;
processed_args+=2;
} else
iarg +=1;
}
return processed_args; // how many arguments were processed
}

View File

@ -45,8 +45,6 @@ class FixPair : public Fix {
double memory_usage() override;
int modify_param(int, char **) override;
private:
int nevery,nfield,ncols;
bigint lasttime;