BornAgain
1.18.0
Simulate and fit neutron and x-ray scattering at grazing incidence
|
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 | relativeAbundance () const |
void | scaleRelativeAbundance (double total_abundance) |
double | radialExtension () const |
Private Member Functions | |
FormFactorCoherentSum (const std::vector< FormFactorCoherentPart > &parts, double abundance) | |
Private Attributes | |
std::vector< FormFactorCoherentPart > | m_parts |
double | m_abundance |
Information about particle form factor and abundance.
Definition at line 26 of file FormFactorCoherentSum.h.
FormFactorCoherentSum::FormFactorCoherentSum | ( | double | abundance | ) |
Definition at line 19 of file FormFactorCoherentSum.cpp.
|
private |
Definition at line 59 of file FormFactorCoherentSum.cpp.
void FormFactorCoherentSum::addCoherentPart | ( | const FormFactorCoherentPart & | part | ) |
Definition at line 21 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 |
|
inline |
void FormFactorCoherentSum::scaleRelativeAbundance | ( | double | total_abundance | ) |
Definition at line 44 of file FormFactorCoherentSum.cpp.
References m_abundance.
double FormFactorCoherentSum::radialExtension | ( | ) | const |
Definition at line 54 of file FormFactorCoherentSum.cpp.
References m_parts.
|
private |
Definition at line 45 of file FormFactorCoherentSum.h.
Referenced by addCoherentPart(), evaluate(), evaluatePol(), and radialExtension().
|
private |
Definition at line 46 of file FormFactorCoherentSum.h.
Referenced by relativeAbundance(), and scaleRelativeAbundance().