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