Commit aebc8ea8 authored by Dan Ibanez's avatar Dan Ibanez
Browse files

move enum to pair.h

to avoid having it be replicated
in several different locations
parent 53a1de1d
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -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;
+2 −0
Original line number Diff line number Diff line
@@ -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