15 #ifndef BORNAGAIN_SAMPLE_LATTICE_BAKELATTICE_H
16 #define BORNAGAIN_SAMPLE_LATTICE_BAKELATTICE_H
A Bravais lattice, characterized by three basis vectors, and optionally an ISelectionRule.
Functions that instantiate objects. To be used like constructors.
Lattice3D FCCLattice(double a)
Returns a face-centered cubic (cF) lattice with edge length a.
Lattice3D HexagonalLattice(double a, double c)
Returns a primitive hexagonal (hP) lattice with hexagonal edge a and height c.
Lattice3D BCTLattice(double a, double c)
Returns a body-centered cubic (cI) lattice with edge length a.
Lattice3D HCPLattice(double a, double c)
TODO: Clarify how this is meant: HCP is not a Bravais lattice.
Lattice3D CubicLattice(double a)
Returns a primitive cubic (cP) lattice with edge length a.
Lattice3D TetragonalLattice(double a, double c)
Returns a primitive tetragonal (tP) lattice with square base edge a and height c.