BornAgain
1.19.79
Open-source research software to simulate and fit neutron and x-ray reflectometry and grazing-incidence small-angle scattering
|
A two-dimensional Bravais lattice.
Classes | |
struct | ReciprocalBases |
Public Member Functions | |
Lattice2D (const std::vector< double > &PValues) | |
Lattice2D (double xi) | |
Lattice2D * | clone () const override=0 |
virtual double | latticeAngle () const =0 |
virtual double | length1 () const =0 |
virtual double | length2 () const =0 |
ReciprocalBases | reciprocalBases () const |
double | rotationAngle () const |
void | setRotationEnabled (bool enabled) |
virtual double | unitCellArea () const =0 |
Protected Attributes | |
double | m_xi |
Lattice2D::Lattice2D | ( | const std::vector< double > & | PValues | ) |
|
explicit |
|
overridepure virtual |
Implemented in HexagonalLattice2D, SquareLattice2D, and BasicLattice2D.
|
pure virtual |
Implemented in HexagonalLattice2D, SquareLattice2D, and BasicLattice2D.
|
pure virtual |
Implemented in HexagonalLattice2D, SquareLattice2D, and BasicLattice2D.
|
pure virtual |
Implemented in HexagonalLattice2D, SquareLattice2D, and BasicLattice2D.
ReciprocalBases Lattice2D::reciprocalBases | ( | ) | const |
double Lattice2D::rotationAngle | ( | ) | const |
void Lattice2D::setRotationEnabled | ( | bool | enabled | ) |
|
pure virtual |
Implemented in HexagonalLattice2D, SquareLattice2D, and BasicLattice2D.
|
protected |