silence static code analysis warnings
This commit is contained in:
@ -24,7 +24,7 @@ using namespace LAMMPS_NS;
|
||||
/* ---------------------------------------------------------------------- */
|
||||
|
||||
ComputePressureAlchemy::ComputePressureAlchemy(LAMMPS *lmp, int narg, char **arg) :
|
||||
Compute(lmp, narg, arg)
|
||||
Compute(lmp, narg, arg), fix(nullptr)
|
||||
{
|
||||
if (narg != 4) error->all(FLERR, "Illegal compute pressure/alchemy command");
|
||||
if (igroup) error->all(FLERR, "Compute pressure/alchemy must use group all");
|
||||
|
||||
@ -53,8 +53,8 @@ FixAlchemy::FixAlchemy(LAMMPS *lmp, int narg, char **arg) : Fix(lmp, narg, arg),
|
||||
vector_flag = 1;
|
||||
size_vector = 3;
|
||||
extvector = 1;
|
||||
ilevel_respa = 0;
|
||||
nmax = 6;
|
||||
ivar = -1;
|
||||
sync_box = 0;
|
||||
|
||||
// set up rank-to-rank communicator for inter-partition communication
|
||||
|
||||
@ -48,7 +48,6 @@ class FixAlchemy : public Fix {
|
||||
double pressure[6]; // joined pressure
|
||||
int progress; // for progress indicator
|
||||
int sync_box; // 1 of box dimensions need to be synchronized
|
||||
int ilevel_respa;
|
||||
int nmax;
|
||||
int ivar;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user