apply clang-format to all headers with some exceptions
This commit is contained in:
@ -20,30 +20,30 @@ namespace LAMMPS_NS {
|
||||
|
||||
class Lattice : protected Pointers {
|
||||
public:
|
||||
enum{NONE,SC,BCC,FCC,HCP,DIAMOND,SQ,SQ2,HEX,CUSTOM};
|
||||
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
|
||||
int nbasis; // # of basis atoms in unit cell
|
||||
double **basis; // fractional coords of each basis atom
|
||||
// within unit cell (0 <= coord < 1)
|
||||
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
|
||||
int nbasis; // # of basis atoms in unit cell
|
||||
double **basis; // fractional coords of each basis atom
|
||||
// within unit cell (0 <= coord < 1)
|
||||
|
||||
Lattice(class LAMMPS *, int, char **);
|
||||
~Lattice();
|
||||
void lattice2box(double &, double &, double &);
|
||||
void box2lattice(double &, double &, double &);
|
||||
void bbox(int, double, double, double,
|
||||
double &, double &, double &, double &, double &, double &);
|
||||
void bbox(int, double, double, double, double &, double &, double &, double &, double &,
|
||||
double &);
|
||||
|
||||
private:
|
||||
private:
|
||||
double scale;
|
||||
double origin[3]; // lattice origin
|
||||
int orientx[3]; // lattice orientation vecs
|
||||
int orienty[3]; // orientx = what lattice dir lies
|
||||
int orientz[3]; // along x dim in box
|
||||
double origin[3]; // lattice origin
|
||||
int orientx[3]; // lattice orientation vecs
|
||||
int orienty[3]; // orientx = what lattice dir lies
|
||||
int orientz[3]; // along x dim in box
|
||||
|
||||
double primitive[3][3]; // lattice <-> box transform matrices
|
||||
double primitive[3][3]; // lattice <-> box transform matrices
|
||||
double priminv[3][3];
|
||||
double rotaterow[3][3];
|
||||
double rotatecol[3][3];
|
||||
@ -57,7 +57,7 @@ private:
|
||||
void cross(double *, double *, double *);
|
||||
};
|
||||
|
||||
}
|
||||
} // namespace LAMMPS_NS
|
||||
|
||||
#endif
|
||||
|
||||
|
||||
Reference in New Issue
Block a user