BornAgain
1.19.0
Simulate and fit neutron and x-ray scattering at grazing incidence
|
Information about particle form factor and abundance. More...
Public Member Functions | |
FormFactorCoherentSum (double abundance) | |
void | addCoherentPart (const FormFactorCoherentPart &part) |
complex_t | evaluate (const SimulationElement &sim_element) const |
Eigen::Matrix2cd | evaluatePol (const SimulationElement &sim_element) const |
double | radialExtension () const |
double | relativeAbundance () const |
void | scaleRelativeAbundance (double total_abundance) |
Private Member Functions | |
FormFactorCoherentSum (const std::vector< FormFactorCoherentPart > &parts, double abundance) | |
Private Attributes | |
double | m_abundance |
std::vector< FormFactorCoherentPart > | m_parts |
Information about particle form factor and abundance.
Definition at line 31 of file FormFactorCoherentSum.h.
FormFactorCoherentSum::FormFactorCoherentSum | ( | double | abundance | ) |
Definition at line 18 of file FormFactorCoherentSum.cpp.
|
private |
Definition at line 54 of file FormFactorCoherentSum.cpp.
void FormFactorCoherentSum::addCoherentPart | ( | const FormFactorCoherentPart & | part | ) |
Definition at line 20 of file FormFactorCoherentSum.cpp.
References m_parts.
complex_t FormFactorCoherentSum::evaluate | ( | const SimulationElement & | sim_element | ) | const |
Eigen::Matrix2cd FormFactorCoherentSum::evaluatePol | ( | const SimulationElement & | sim_element | ) | const |
double FormFactorCoherentSum::radialExtension | ( | ) | const |
Definition at line 49 of file FormFactorCoherentSum.cpp.
References m_parts.
|
inline |
void FormFactorCoherentSum::scaleRelativeAbundance | ( | double | total_abundance | ) |
Definition at line 41 of file FormFactorCoherentSum.cpp.
References m_abundance.
Referenced by ProcessedLayout::collectFormFactors().
|
private |
Definition at line 50 of file FormFactorCoherentSum.h.
Referenced by relativeAbundance(), and scaleRelativeAbundance().
|
private |
Definition at line 49 of file FormFactorCoherentSum.h.
Referenced by addCoherentPart(), evaluate(), evaluatePol(), and radialExtension().