more enumerator to class definition in header, so it can be accessed by tester
This commit is contained in:
@ -28,8 +28,6 @@ using namespace LAMMPS_NS;
|
|||||||
|
|
||||||
#define BIG 1.0e30
|
#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)
|
Lattice::Lattice(LAMMPS *lmp, int narg, char **arg) : Pointers(lmp)
|
||||||
|
|||||||
@ -20,6 +20,8 @@ namespace LAMMPS_NS {
|
|||||||
|
|
||||||
class Lattice : protected Pointers {
|
class Lattice : protected Pointers {
|
||||||
public:
|
public:
|
||||||
|
enum{NONE,SC,BCC,FCC,HCP,DIAMOND,SQ,SQ2,HEX,CUSTOM};
|
||||||
|
|
||||||
int style; // NONE,SC,FCC,etc
|
int style; // NONE,SC,FCC,etc
|
||||||
double xlattice,ylattice,zlattice; // lattice scale factors in 3 dims
|
double xlattice,ylattice,zlattice; // lattice scale factors in 3 dims
|
||||||
double a1[3],a2[3],a3[3]; // edge vectors of unit cell
|
double a1[3],a2[3],a3[3]; // edge vectors of unit cell
|
||||||
|
|||||||
Reference in New Issue
Block a user