remove vector/array class members shadowing the base class
This commit is contained in:
@ -37,8 +37,6 @@ class ComputeBodyLocal : public Compute {
|
||||
int *which,*index;
|
||||
|
||||
int nmax;
|
||||
double *vector;
|
||||
double **array;
|
||||
|
||||
class AtomVecBody *avec;
|
||||
class Body *bptr;
|
||||
|
||||
@ -41,8 +41,6 @@ class ComputeRigidLocal : public Compute {
|
||||
class FixRigidSmall *fixrigid;
|
||||
|
||||
int nmax;
|
||||
double *vector;
|
||||
double **array;
|
||||
|
||||
int compute_rigid(int);
|
||||
void reallocate(int);
|
||||
|
||||
@ -36,8 +36,6 @@ class ComputeSpecAtom : public Compute {
|
||||
private:
|
||||
int nvalues;
|
||||
int nmax;
|
||||
double *vector;
|
||||
double **array;
|
||||
double *buf;
|
||||
double *vbuf;
|
||||
|
||||
|
||||
@ -37,8 +37,6 @@ class ComputeAngleLocal : public Compute {
|
||||
int ncount;
|
||||
|
||||
int nmax;
|
||||
double *vector;
|
||||
double **array;
|
||||
|
||||
int compute_angles(int);
|
||||
void reallocate(int);
|
||||
|
||||
@ -39,8 +39,6 @@ class ComputeBondLocal : public Compute {
|
||||
int singleflag;
|
||||
|
||||
int nmax;
|
||||
double *vector;
|
||||
double **array;
|
||||
|
||||
int compute_bonds(int);
|
||||
void reallocate(int);
|
||||
|
||||
@ -34,8 +34,7 @@ using namespace MathConst;
|
||||
/* ---------------------------------------------------------------------- */
|
||||
|
||||
ComputeDihedralLocal::ComputeDihedralLocal(LAMMPS *lmp, int narg, char **arg) :
|
||||
Compute(lmp, narg, arg),
|
||||
vector(NULL), array(NULL)
|
||||
Compute(lmp, narg, arg)
|
||||
{
|
||||
if (narg < 4) error->all(FLERR,"Illegal compute dihedral/local command");
|
||||
|
||||
|
||||
@ -37,8 +37,6 @@ class ComputeDihedralLocal : public Compute {
|
||||
int ncount;
|
||||
|
||||
int nmax;
|
||||
double *vector;
|
||||
double **array;
|
||||
|
||||
int compute_dihedrals(int);
|
||||
void reallocate(int);
|
||||
|
||||
@ -35,8 +35,7 @@ using namespace MathConst;
|
||||
/* ---------------------------------------------------------------------- */
|
||||
|
||||
ComputeImproperLocal::ComputeImproperLocal(LAMMPS *lmp, int narg, char **arg) :
|
||||
Compute(lmp, narg, arg),
|
||||
vector(NULL), array(NULL)
|
||||
Compute(lmp, narg, arg)
|
||||
{
|
||||
if (narg < 4) error->all(FLERR,"Illegal compute improper/local command");
|
||||
|
||||
|
||||
@ -37,8 +37,6 @@ class ComputeImproperLocal : public Compute {
|
||||
int ncount;
|
||||
|
||||
int nmax;
|
||||
double *vector;
|
||||
double **array;
|
||||
|
||||
int compute_impropers(int);
|
||||
void reallocate(int);
|
||||
|
||||
@ -41,8 +41,6 @@ class ComputePairLocal : public Compute {
|
||||
int singleflag;
|
||||
|
||||
int nmax;
|
||||
double *vector;
|
||||
double **array;
|
||||
|
||||
class NeighList *list;
|
||||
|
||||
|
||||
@ -36,8 +36,6 @@ class ComputePropertyAtom : public Compute {
|
||||
int nvalues;
|
||||
int nmax;
|
||||
int *index;
|
||||
double *vector;
|
||||
double **array;
|
||||
double *buf;
|
||||
class AtomVecEllipsoid *avec_ellipsoid;
|
||||
class AtomVecLine *avec_line;
|
||||
|
||||
@ -37,8 +37,6 @@ class ComputePropertyLocal : public Compute {
|
||||
int nvalues,kindflag,cutstyle;
|
||||
|
||||
int nmax;
|
||||
double *vector;
|
||||
double **array;
|
||||
double *buf;
|
||||
|
||||
class NeighList *list;
|
||||
|
||||
Reference in New Issue
Block a user