BornAgain
1.19.0
Simulate and fit neutron and x-ray scattering at grazing incidence
|
Computes the diffuse reflection from the rough interfaces of a multilayer. More...
Public Member Functions | |
RoughMultiLayerComputation (const ProcessedSample *p_sample) | |
void | compute (SimulationElement &elem) const |
Private Member Functions | |
complex_t | get_refractive_term (size_t ilayer, double wavelength) const |
complex_t | get_sum8terms (size_t ilayer, const SimulationElement &sim_element) const |
Private Attributes | |
const ProcessedSample * | m_sample |
Computes the diffuse reflection from the rough interfaces of a multilayer.
Used by DWBAComputation.
Definition at line 32 of file RoughMultiLayerComputation.h.
RoughMultiLayerComputation::RoughMultiLayerComputation | ( | const ProcessedSample * | p_sample | ) |
Definition at line 42 of file RoughMultiLayerComputation.cpp.
void RoughMultiLayerComputation::compute | ( | SimulationElement & | elem | ) | const |
Definition at line 47 of file RoughMultiLayerComputation.cpp.
References SimulationElement::addIntensity(), ProcessedSample::bottomRoughness(), ProcessedSample::crossCorrelationLength(), ProcessedSample::crossCorrSpectralFun(), get_refractive_term(), get_sum8terms(), SimulationElement::getAlphaMean(), LayerRoughness::getSpectralFun(), M_PI, m_sample, SimulationElement::meanQ(), ProcessedSample::numberOfSlices(), and SimulationElement::wavelength().
|
private |
Definition at line 84 of file RoughMultiLayerComputation.cpp.
References m_sample, and ProcessedSample::slices().
Referenced by compute().
|
private |
Definition at line 91 of file RoughMultiLayerComputation.cpp.
References ProcessedSample::bottomRoughness(), exp_I(), ProcessedSample::fresnelMap(), IFresnelMap::getInCoefficients(), m_sample, and ProcessedSample::slices().
Referenced by compute().
|
private |
Definition at line 39 of file RoughMultiLayerComputation.h.
Referenced by compute(), get_refractive_term(), and get_sum8terms().