BornAgain
1.19.79
Simulate and fit neutron and x-ray scattering at grazing incidence
|
Definition at line 96 of file Lattice2DItems.h.
Public Member Functions | |
HexagonalLattice2DItem () | |
std::unique_ptr< Lattice2D > | createLattice () const override |
DoubleDescriptors | geometryValues (bool withRotationAngle) const override |
DoubleDescriptor | latticeLength () const |
DoubleDescriptor | latticeRotationAngle () const |
void | serialize (Streamer &s) override |
void | setLatticeLength (double length) |
void | setLatticeRotationAngle (double angle) |
double | unitCellArea () const |
Protected Attributes | |
DoubleProperty | m_latticeRotationAngle |
Private Attributes | |
DoubleProperty | m_length |
HexagonalLattice2DItem::HexagonalLattice2DItem | ( | ) |
Definition at line 131 of file Lattice2DItems.cpp.
References DoubleProperty::init(), m_length, and nanometer.
|
overridevirtual |
Implements Lattice2DItem.
Definition at line 137 of file Lattice2DItems.cpp.
References Lattice2DItem::latticeRotationAngle(), and m_length.
|
inlineoverridevirtual |
Implements Lattice2DItem.
Definition at line 101 of file Lattice2DItems.h.
References Lattice2DItem::m_latticeRotationAngle, and m_length.
DoubleDescriptor HexagonalLattice2DItem::latticeLength | ( | ) | const |
Definition at line 149 of file Lattice2DItems.cpp.
References m_length.
|
inherited |
Definition at line 33 of file Lattice2DItems.cpp.
References Lattice2DItem::m_latticeRotationAngle.
Referenced by BasicLattice2DItem::createLattice(), SquareLattice2DItem::createLattice(), and createLattice().
|
overridevirtual |
Implements Lattice2DItem.
Definition at line 142 of file Lattice2DItems.cpp.
References Streamer::assertVersion(), Lattice2DItem::m_latticeRotationAngle, m_length, and Serialize::rwProperty().
void HexagonalLattice2DItem::setLatticeLength | ( | double | length | ) |
Definition at line 154 of file Lattice2DItems.cpp.
References m_length, and DoubleProperty::set().
|
inherited |
Definition at line 38 of file Lattice2DItems.cpp.
References Lattice2DItem::m_latticeRotationAngle, and DoubleProperty::set().
|
inherited |
Definition at line 28 of file Lattice2DItems.cpp.
References Lattice2DItem::createLattice().
Referenced by ParticleLayoutItem::totalDensityValue().
|
protectedinherited |
Definition at line 41 of file Lattice2DItems.h.
Referenced by Lattice2DItem::Lattice2DItem(), BasicLattice2DItem::geometryValues(), SquareLattice2DItem::geometryValues(), geometryValues(), Lattice2DItem::latticeRotationAngle(), BasicLattice2DItem::serialize(), SquareLattice2DItem::serialize(), serialize(), and Lattice2DItem::setLatticeRotationAngle().
|
private |
Definition at line 112 of file Lattice2DItems.h.
Referenced by HexagonalLattice2DItem(), createLattice(), geometryValues(), latticeLength(), serialize(), and setLatticeLength().