BornAgain
1.19.79
Open-source research software to simulate and fit neutron and x-ray reflectometry and grazing-incidence small-angle scattering
|
Interference function of a finite 2D lattice.
Public Member Functions | |
InterferenceFinite2DLattice (const Lattice2D &lattice, unsigned N_1, unsigned N_2) | |
~InterferenceFinite2DLattice () override | |
std::string | className () const final |
InterferenceFinite2DLattice * | clone () const override |
double | DWfactor (R3 q) const |
structureFactors the Debye-Waller factor for a given wavevector transfer More... | |
bool | integrationOverXi () const |
const Lattice2D & | lattice () const |
std::vector< const INode * > | nodeChildren () const override |
unsigned | numberUnitCells1 () const |
unsigned | numberUnitCells2 () const |
double | particleDensity () const override |
Returns the particle density associated with this 2d lattice. More... | |
double | positionVariance () const |
Returns the position variance. More... | |
void | setIntegrationOverXi (bool integrate_xi) |
void | setPositionVariance (double var) |
Sets the variance of the position for the calculation of the DW factor It is defined as the variance in each relevant dimension. More... | |
virtual double | structureFactor (R3 q, double outer_iff=1.0) const |
The interference function for a given wavevector transfer. More... | |
virtual bool | supportsMultilayer () const |
Indicates if this interference function can be used with a sample (DWBA mode) More... | |
Protected Member Functions | |
double | iff_no_inner (R3 q, double outer_iff) const |
Calculates the structure factor in the absence of extra inner structure. More... | |
Protected Attributes | |
double | m_position_var |
InterferenceFinite2DLattice::InterferenceFinite2DLattice | ( | const Lattice2D & | lattice, |
unsigned | N_1, | ||
unsigned | N_2 | ||
) |
|
override |
|
final |
|
overridevirtual |
Implements IInterference.
|
inherited |
structureFactors the Debye-Waller factor for a given wavevector transfer
|
protectedinherited |
Calculates the structure factor in the absence of extra inner structure.
bool InterferenceFinite2DLattice::integrationOverXi | ( | ) | const |
const Lattice2D& InterferenceFinite2DLattice::lattice | ( | ) | const |
|
override |
unsigned InterferenceFinite2DLattice::numberUnitCells1 | ( | ) | const |
unsigned InterferenceFinite2DLattice::numberUnitCells2 | ( | ) | const |
|
overridevirtual |
Returns the particle density associated with this 2d lattice.
Reimplemented from IInterference.
|
inherited |
Returns the position variance.
void InterferenceFinite2DLattice::setIntegrationOverXi | ( | bool | integrate_xi | ) |
|
inherited |
Sets the variance of the position for the calculation of the DW factor It is defined as the variance in each relevant dimension.
|
virtualinherited |
The interference function for a given wavevector transfer.
Reimplemented in Interference2DSuperLattice.
|
virtualinherited |
Indicates if this interference function can be used with a sample (DWBA mode)
Reimplemented in InterferenceFinite3DLattice, and Interference3DLattice.
|
protectedinherited |