Unverified Commit e2cedebd authored by Axel Kohlmeyer's avatar Axel Kohlmeyer
Browse files

more enumerator to class definition in header, so it can be accessed by tester

parent ac43f8f6
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -28,8 +28,6 @@ using namespace LAMMPS_NS;

#define BIG 1.0e30

enum{NONE,SC,BCC,FCC,HCP,DIAMOND,SQ,SQ2,HEX,CUSTOM};

/* ---------------------------------------------------------------------- */

Lattice::Lattice(LAMMPS *lmp, int narg, char **arg) : Pointers(lmp)
+2 −0
Original line number Diff line number Diff line
@@ -20,6 +20,8 @@ namespace LAMMPS_NS {

class Lattice : protected Pointers {
 public:
  enum{NONE,SC,BCC,FCC,HCP,DIAMOND,SQ,SQ2,HEX,CUSTOM};

  int style;                           // NONE,SC,FCC,etc
  double xlattice,ylattice,zlattice;   // lattice scale factors in 3 dims
  double a1[3],a2[3],a3[3];            // edge vectors of unit cell