Remove useless things

This commit is contained in:
Julien Devemy
2019-07-02 10:34:10 +02:00
parent 2fd924562b
commit 968335d4fd
3 changed files with 1 additions and 3 deletions

View File

@ -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])) {

View File

@ -49,7 +49,6 @@ class ComputePressure : public Compute {
void virial_compute(int, int);
private:
int nsub;
char *pstyle;
};

View File

@ -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();