diff --git a/src/lattice.cpp b/src/lattice.cpp index 0f9b0a7818..8ecf9fed73 100644 --- a/src/lattice.cpp +++ b/src/lattice.cpp @@ -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) diff --git a/src/lattice.h b/src/lattice.h index e76fd0507f..65cba9f3ca 100644 --- a/src/lattice.h +++ b/src/lattice.h @@ -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