BornAgain
1.19.79
Simulate and fit neutron and x-ray scattering at grazing incidence
|
Definition at line 127 of file InterferenceItems.h.
Public Member Functions | |
InterferenceFinite2DLatticeItem () | |
std::unique_ptr< IInterference > | createInterference () const override |
UIntDescriptor | domainSize1 () const |
UIntDescriptor | domainSize2 () const |
SelectionDescriptor< Lattice2DItem * > | latticeType () const |
DoubleDescriptor | positionVariance () const |
void | serialize (Streamer &s) override |
void | setDomainSize1 (unsigned int domain_size1) |
void | setDomainSize2 (unsigned int domain_size2) |
void | setLatticeType (Lattice2DItem *p) |
void | setXiIntegration (bool xiIntegration) |
bool | xiIntegration () const |
Protected Attributes | |
SelectionProperty< Lattice2DItem * > | m_latticeType |
DoubleProperty | m_positionVariance |
bool | m_xiIntegration |
Private Attributes | |
UIntProperty | m_domainSize1 |
UIntProperty | m_domainSize2 |
InterferenceFinite2DLatticeItem::InterferenceFinite2DLatticeItem | ( | ) |
Definition at line 259 of file InterferenceItems.cpp.
References UIntProperty::init(), m_domainSize1, m_domainSize2, and unitless.
|
overridevirtual |
Implements InterferenceItem.
Definition at line 268 of file InterferenceItems.cpp.
References Lattice2DItem::createLattice(), Interference2DAbstractLatticeItem::latticeType(), m_domainSize1, m_domainSize2, InterferenceItem::positionVariance(), and Interference2DAbstractLatticeItem::xiIntegration().
UIntDescriptor InterferenceFinite2DLatticeItem::domainSize1 | ( | ) | const |
Definition at line 290 of file InterferenceItems.cpp.
References m_domainSize1.
UIntDescriptor InterferenceFinite2DLatticeItem::domainSize2 | ( | ) | const |
Definition at line 300 of file InterferenceItems.cpp.
References m_domainSize2.
|
inherited |
Definition at line 94 of file InterferenceItems.cpp.
References Interference2DAbstractLatticeItem::m_latticeType.
Referenced by LatticeTypeSelectionForm::LatticeTypeSelectionForm(), ParameterTreeBuilder::addLattice(), LatticeTypeSelectionForm::createContent(), Interference2DLatticeItem::createInterference(), Interference2DParaCrystalItem::createInterference(), and createInterference().
|
inherited |
Definition at line 31 of file InterferenceItems.cpp.
References InterferenceItem::m_positionVariance.
Referenced by Interference1DLatticeItem::createInterference(), Interference2DLatticeItem::createInterference(), Interference2DParaCrystalItem::createInterference(), createInterference(), InterferenceHardDiskItem::createInterference(), and InterferenceRadialParaCrystalItem::createInterference().
|
overridevirtual |
Implements InterferenceItem.
Definition at line 280 of file InterferenceItems.cpp.
References Streamer::assertVersion(), m_domainSize1, m_domainSize2, Interference2DAbstractLatticeItem::m_latticeType, InterferenceItem::m_positionVariance, Interference2DAbstractLatticeItem::m_xiIntegration, Serialize::rwProperty(), and Serialize::rwValue().
void InterferenceFinite2DLatticeItem::setDomainSize1 | ( | unsigned int | domain_size1 | ) |
Definition at line 295 of file InterferenceItems.cpp.
References m_domainSize1, and UIntProperty::set().
void InterferenceFinite2DLatticeItem::setDomainSize2 | ( | unsigned int | domain_size2 | ) |
Definition at line 305 of file InterferenceItems.cpp.
References m_domainSize2, and UIntProperty::set().
|
inherited |
Definition at line 99 of file InterferenceItems.cpp.
References Interference2DAbstractLatticeItem::m_latticeType, and SelectionProperty< T >::set().
|
inherited |
Definition at line 109 of file InterferenceItems.cpp.
References Interference2DAbstractLatticeItem::m_xiIntegration, and Interference2DAbstractLatticeItem::xiIntegration().
Referenced by SampleEditorController::setIntegrateOverXi().
|
inherited |
Definition at line 104 of file InterferenceItems.cpp.
References Interference2DAbstractLatticeItem::m_xiIntegration.
Referenced by ParameterTreeBuilder::addLattice(), LatticeTypeSelectionForm::createContent(), Interference2DLatticeItem::createInterference(), Interference2DParaCrystalItem::createInterference(), createInterference(), LatticeTypeSelectionForm::onIntegrateOverXiChanged(), Interference2DAbstractLatticeItem::setXiIntegration(), and LatticeTypeSelectionForm::updateXiVisibility().
|
private |
Definition at line 139 of file InterferenceItems.h.
Referenced by InterferenceFinite2DLatticeItem(), createInterference(), domainSize1(), serialize(), and setDomainSize1().
|
private |
Definition at line 140 of file InterferenceItems.h.
Referenced by InterferenceFinite2DLatticeItem(), createInterference(), domainSize2(), serialize(), and setDomainSize2().
|
protectedinherited |
Definition at line 77 of file InterferenceItems.h.
Referenced by Interference2DAbstractLatticeItem::Interference2DAbstractLatticeItem(), Interference2DAbstractLatticeItem::latticeType(), Interference2DLatticeItem::serialize(), Interference2DParaCrystalItem::serialize(), serialize(), and Interference2DAbstractLatticeItem::setLatticeType().
|
protectedinherited |
Definition at line 39 of file InterferenceItems.h.
Referenced by InterferenceItem::InterferenceItem(), InterferenceItem::positionVariance(), Interference1DLatticeItem::serialize(), Interference2DLatticeItem::serialize(), Interference2DParaCrystalItem::serialize(), serialize(), InterferenceHardDiskItem::serialize(), InterferenceRadialParaCrystalItem::serialize(), and InterferenceItem::serialize().
|
protectedinherited |
Definition at line 76 of file InterferenceItems.h.
Referenced by Interference2DLatticeItem::serialize(), Interference2DParaCrystalItem::serialize(), serialize(), Interference2DAbstractLatticeItem::setXiIntegration(), and Interference2DAbstractLatticeItem::xiIntegration().