move enum to pair.h

to avoid having it be replicated
in several different locations
This commit is contained in:
Dan Ibanez
2017-01-04 10:51:31 -07:00
parent 53a1de1d40
commit aebc8ea826
2 changed files with 2 additions and 2 deletions

View File

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

View File

@ -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