BornAgain
1.18.0
Simulate and fit neutron and x-ray scattering at grazing incidence
|
Public Member Functions | |
SSCAHelper (double kappa) | |
void | init (const std::vector< FormFactorCoherentSum > &ff_wrappers) |
complex_t | getCharacteristicSizeCoupling (double qp, const std::vector< FormFactorCoherentSum > &ff_wrappers) const |
complex_t | getCharacteristicDistribution (double qp, const IInterferenceFunction *p_iff) const |
complex_t | calculatePositionOffsetPhase (double qp, double radial_extension) const |
complex_t | getMeanFormfactorNorm (double qp, const std::vector< complex_t > &precomputed_ff, const std::vector< FormFactorCoherentSum > &ff_wrappers) const |
void | getMeanFormfactors (double qp, Eigen::Matrix2cd &ff_orig, Eigen::Matrix2cd &ff_conj, const InterferenceFunctionUtils::matrixFFVector_t &precomputed_ff, const std::vector< FormFactorCoherentSum > &ff_wrappers) const |
Private Attributes | |
double | m_kappa |
double | m_mean_radius |
Helper class for SSCApproximationStrategy, offering some methods, shared between the scalar and polarized scattering calculations.
Definition at line 29 of file SSCAHelper.h.
SSCAHelper::SSCAHelper | ( | double | kappa | ) |
Definition at line 20 of file SSCAHelper.cpp.
void SSCAHelper::init | ( | const std::vector< FormFactorCoherentSum > & | ff_wrappers | ) |
Definition at line 22 of file SSCAHelper.cpp.
References m_mean_radius.
Referenced by SSCApproximationStrategy::strategy_specific_post_init().
complex_t SSCAHelper::getCharacteristicSizeCoupling | ( | double | qp, |
const std::vector< FormFactorCoherentSum > & | ff_wrappers | ||
) | const |
Definition at line 29 of file SSCAHelper.cpp.
References calculatePositionOffsetPhase().
Referenced by SSCApproximationStrategy::polarizedCalculation(), and SSCApproximationStrategy::scalarCalculation().
complex_t SSCAHelper::getCharacteristicDistribution | ( | double | qp, |
const IInterferenceFunction * | p_iff | ||
) | const |
Definition at line 41 of file SSCAHelper.cpp.
References InterferenceFunctionRadialParaCrystal::FTPDF().
Referenced by SSCApproximationStrategy::polarizedCalculation(), and SSCApproximationStrategy::scalarCalculation().
complex_t SSCAHelper::calculatePositionOffsetPhase | ( | double | qp, |
double | radial_extension | ||
) | const |
Definition at line 51 of file SSCAHelper.cpp.
References exp_I(), m_kappa, and m_mean_radius.
Referenced by getCharacteristicSizeCoupling(), getMeanFormfactorNorm(), and getMeanFormfactors().
complex_t SSCAHelper::getMeanFormfactorNorm | ( | double | qp, |
const std::vector< complex_t > & | precomputed_ff, | ||
const std::vector< FormFactorCoherentSum > & | ff_wrappers | ||
) | const |
Definition at line 57 of file SSCAHelper.cpp.
References calculatePositionOffsetPhase().
Referenced by SSCApproximationStrategy::scalarCalculation().
void SSCAHelper::getMeanFormfactors | ( | double | qp, |
Eigen::Matrix2cd & | ff_orig, | ||
Eigen::Matrix2cd & | ff_conj, | ||
const InterferenceFunctionUtils::matrixFFVector_t & | precomputed_ff, | ||
const std::vector< FormFactorCoherentSum > & | ff_wrappers | ||
) | const |
Definition at line 71 of file SSCAHelper.cpp.
References calculatePositionOffsetPhase().
Referenced by SSCApproximationStrategy::polarizedCalculation().
|
private |
Definition at line 48 of file SSCAHelper.h.
Referenced by calculatePositionOffsetPhase().
|
private |
Definition at line 49 of file SSCAHelper.h.
Referenced by calculatePositionOffsetPhase(), and init().