Remove useless things
This commit is contained in:
@ -87,7 +87,7 @@ ComputePressure::ComputePressure(LAMMPS *lmp, int narg, char **arg) :
|
||||
pstyle = new char[n];
|
||||
strcpy(pstyle,arg[iarg++]);
|
||||
|
||||
nsub = 0;
|
||||
int nsub = 0;
|
||||
|
||||
if (narg > iarg) {
|
||||
if (isdigit(arg[iarg][0])) {
|
||||
|
||||
@ -49,7 +49,6 @@ class ComputePressure : public Compute {
|
||||
void virial_compute(int, int);
|
||||
|
||||
private:
|
||||
int nsub;
|
||||
char *pstyle;
|
||||
};
|
||||
|
||||
|
||||
@ -33,7 +33,6 @@ class PairHybrid : public Pair {
|
||||
friend class Respa;
|
||||
friend class Info;
|
||||
friend class PairDeprecated;
|
||||
friend class ComputePressure;
|
||||
public:
|
||||
PairHybrid(class LAMMPS *);
|
||||
virtual ~PairHybrid();
|
||||
|
||||
Reference in New Issue
Block a user