move enum to pair.h
to avoid having it be replicated in several different locations
This commit is contained in:
@ -43,8 +43,6 @@
|
||||
using namespace LAMMPS_NS;
|
||||
using namespace MathConst;
|
||||
|
||||
enum{NONE,RLINEAR,RSQ,BMP};
|
||||
|
||||
// allocate space for static class instance variable and initialize it
|
||||
|
||||
int Pair::instance_total = 0;
|
||||
|
||||
@ -32,6 +32,8 @@ class Pair : protected Pointers {
|
||||
friend class Info;
|
||||
|
||||
public:
|
||||
enum{NONE,RLINEAR,RSQ,BMP};
|
||||
|
||||
static int instance_total; // # of Pair classes ever instantiated
|
||||
|
||||
double eng_vdwl,eng_coul; // accumulated energies
|
||||
|
||||
Reference in New Issue
Block a user