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

This commit is contained in:
Axel Kohlmeyer
2020-08-12 15:49:11 -04:00
parent ac43f8f685
commit e2cedebd29
2 changed files with 2 additions and 2 deletions

View File

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

View File

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