BornAgain
1.19.79
Simulate and fit neutron and x-ray scattering at grazing incidence
|
Definition at line 46 of file Lattice2DItems.h.
Public Member Functions | |
BasicLattice2DItem () | |
std::unique_ptr< Lattice2D > | createLattice () const override |
DoubleDescriptors | geometryValues (bool withRotationAngle) const override |
DoubleDescriptor | latticeAngle () const |
DoubleDescriptor | latticeLength1 () const |
DoubleDescriptor | latticeLength2 () const |
DoubleDescriptor | latticeRotationAngle () const |
void | serialize (Streamer &s) override |
void | setLatticeAngle (double angle) |
void | setLatticeLength1 (double length1) |
void | setLatticeLength2 (double length2) |
void | setLatticeRotationAngle (double angle) |
double | unitCellArea () const |
Protected Attributes | |
DoubleProperty | m_latticeRotationAngle |
Private Attributes | |
DoubleProperty | m_angle |
DoubleProperty | m_length1 |
DoubleProperty | m_length2 |
BasicLattice2DItem::BasicLattice2DItem | ( | ) |
Definition at line 45 of file Lattice2DItems.cpp.
References degree, DoubleProperty::init(), m_angle, m_length1, m_length2, and nanometer.
|
overridevirtual |
Implements Lattice2DItem.
Definition at line 54 of file Lattice2DItems.cpp.
References Lattice2DItem::latticeRotationAngle(), m_angle, m_length1, and m_length2.
|
inlineoverridevirtual |
Implements Lattice2DItem.
Definition at line 51 of file Lattice2DItems.h.
References m_angle, Lattice2DItem::m_latticeRotationAngle, m_length1, and m_length2.
DoubleDescriptor BasicLattice2DItem::latticeAngle | ( | ) | const |
DoubleDescriptor BasicLattice2DItem::latticeLength1 | ( | ) | const |
Definition at line 69 of file Lattice2DItems.cpp.
References m_length1.
DoubleDescriptor BasicLattice2DItem::latticeLength2 | ( | ) | const |
Definition at line 79 of file Lattice2DItems.cpp.
References m_length2.
|
inherited |
Definition at line 33 of file Lattice2DItems.cpp.
References Lattice2DItem::m_latticeRotationAngle.
Referenced by createLattice(), SquareLattice2DItem::createLattice(), and HexagonalLattice2DItem::createLattice().
|
overridevirtual |
Implements Lattice2DItem.
Definition at line 60 of file Lattice2DItems.cpp.
References Streamer::assertVersion(), m_angle, Lattice2DItem::m_latticeRotationAngle, m_length1, m_length2, and Serialize::rwProperty().
void BasicLattice2DItem::setLatticeAngle | ( | double | angle | ) |
Definition at line 94 of file Lattice2DItems.cpp.
References m_angle, and DoubleProperty::set().
void BasicLattice2DItem::setLatticeLength1 | ( | double | length1 | ) |
Definition at line 74 of file Lattice2DItems.cpp.
References m_length1, and DoubleProperty::set().
void BasicLattice2DItem::setLatticeLength2 | ( | double | length2 | ) |
Definition at line 84 of file Lattice2DItems.cpp.
References m_length2, 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().
|
private |
Definition at line 70 of file Lattice2DItems.h.
Referenced by BasicLattice2DItem(), createLattice(), geometryValues(), latticeAngle(), serialize(), and setLatticeAngle().
|
protectedinherited |
Definition at line 41 of file Lattice2DItems.h.
Referenced by Lattice2DItem::Lattice2DItem(), geometryValues(), SquareLattice2DItem::geometryValues(), HexagonalLattice2DItem::geometryValues(), Lattice2DItem::latticeRotationAngle(), serialize(), SquareLattice2DItem::serialize(), HexagonalLattice2DItem::serialize(), and Lattice2DItem::setLatticeRotationAngle().
|
private |
Definition at line 68 of file Lattice2DItems.h.
Referenced by BasicLattice2DItem(), createLattice(), geometryValues(), latticeLength1(), serialize(), and setLatticeLength1().
|
private |
Definition at line 69 of file Lattice2DItems.h.
Referenced by BasicLattice2DItem(), createLattice(), geometryValues(), latticeLength2(), serialize(), and setLatticeLength2().