BornAgain
1.19.79
Open-source research software to simulate and fit neutron and x-ray reflectometry and grazing-incidence small-angle scattering
|
Percus-Yevick hard disk interference function.
M.S. Ripoll & C.F. Tejero (1995) Approximate analytical expression for the direct correlation function of hard discs within the Percus-Yevick equation, Molecular Physics, 85:2, 423-428, DOI: 10.1080/00268979500101211
Public Member Functions | |
InterferenceHardDisk (double radius, double density, double position_var=0) | |
~InterferenceHardDisk () override=default | |
std::string | className () const final |
InterferenceHardDisk * | clone () const override |
double | density () const |
double | DWfactor (R3 q) const |
structureFactors the Debye-Waller factor for a given wavevector transfer More... | |
std::vector< ParaMeta > | parDefs () const final |
double | particleDensity () const override |
If defined by this interference function's parameters, returns the particle density (per area). Otherwise, returns zero or a user-defined value. More... | |
double | positionVariance () const |
Returns the position variance. More... | |
double | radius () const |
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 |
InterferenceHardDisk::InterferenceHardDisk | ( | double | radius, |
double | density, | ||
double | position_var = 0 |
||
) |
|
overridedefault |
|
final |
|
overridevirtual |
Implements IInterference.
double InterferenceHardDisk::density | ( | ) | const |
|
inherited |
structureFactors the Debye-Waller factor for a given wavevector transfer
|
protectedinherited |
Calculates the structure factor in the absence of extra inner structure.
|
final |
|
overridevirtual |
If defined by this interference function's parameters, returns the particle density (per area). Otherwise, returns zero or a user-defined value.
Reimplemented from IInterference.
|
inherited |
Returns the position variance.
double InterferenceHardDisk::radius | ( | ) | const |
|
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 |