BornAgain
1.19.79
Simulate and fit neutron and x-ray scattering at grazing incidence
|
Definition at line 75 of file Lattice2DItems.h.
Public Member Functions | |
SquareLattice2DItem () | |
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 |
SquareLattice2DItem::SquareLattice2DItem | ( | ) |
Definition at line 101 of file Lattice2DItems.cpp.
References DoubleProperty::init(), m_length, and nanometer.
|
overridevirtual |
Implements Lattice2DItem.
Definition at line 107 of file Lattice2DItems.cpp.
References Lattice2DItem::latticeRotationAngle(), and m_length.
|
inlineoverridevirtual |
Implements Lattice2DItem.
Definition at line 80 of file Lattice2DItems.h.
References Lattice2DItem::m_latticeRotationAngle, and m_length.
DoubleDescriptor SquareLattice2DItem::latticeLength | ( | ) | const |
Definition at line 119 of file Lattice2DItems.cpp.
References m_length.
|
inherited |
Definition at line 33 of file Lattice2DItems.cpp.
References Lattice2DItem::m_latticeRotationAngle.
Referenced by BasicLattice2DItem::createLattice(), createLattice(), and HexagonalLattice2DItem::createLattice().
|
overridevirtual |
Implements Lattice2DItem.
Definition at line 112 of file Lattice2DItems.cpp.
References Streamer::assertVersion(), Lattice2DItem::m_latticeRotationAngle, m_length, and Serialize::rwProperty().
void SquareLattice2DItem::setLatticeLength | ( | double | length | ) |
Definition at line 124 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(), geometryValues(), HexagonalLattice2DItem::geometryValues(), Lattice2DItem::latticeRotationAngle(), BasicLattice2DItem::serialize(), serialize(), HexagonalLattice2DItem::serialize(), and Lattice2DItem::setLatticeRotationAngle().
|
private |
Definition at line 91 of file Lattice2DItems.h.
Referenced by SquareLattice2DItem(), createLattice(), geometryValues(), latticeLength(), serialize(), and setLatticeLength().