From e2cedebd294fce431f54c42c9e3c3a5f570dd71b Mon Sep 17 00:00:00 2001 From: Axel Kohlmeyer Date: Wed, 12 Aug 2020 15:49:11 -0400 Subject: [PATCH] more enumerator to class definition in header, so it can be accessed by tester --- src/lattice.cpp | 2 -- src/lattice.h | 2 ++ 2 files changed, 2 insertions(+), 2 deletions(-) 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