BornAgain
1.18.0
Simulate and fit neutron and x-ray scattering at grazing incidence
|
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 * | mp_sample |
Computes the diffuse reflection from the rough interfaces of a multilayer.
Used by DWBAComputation.
Definition at line 27 of file RoughMultiLayerComputation.h.
RoughMultiLayerComputation::RoughMultiLayerComputation | ( | const ProcessedSample * | p_sample | ) |
Definition at line 43 of file RoughMultiLayerComputation.cpp.
void RoughMultiLayerComputation::compute | ( | SimulationElement & | elem | ) | const |
Definition at line 48 of file RoughMultiLayerComputation.cpp.
References SimulationElement::addIntensity(), ProcessedSample::bottomRoughness(), ProcessedSample::crossCorrelationLength(), ProcessedSample::crossCorrSpectralFun(), get_refractive_term(), get_sum8terms(), SimulationElement::getAlphaMean(), SimulationElement::getMeanQ(), LayerRoughness::getSpectralFun(), SimulationElement::getWavelength(), M_PI, mp_sample, anonymous_namespace{SlicedCylindersBuilder.cpp}::n_slices(), ProcessedSample::numberOfSlices(), and anonymous_namespace{SlicedCylindersBuilder.cpp}::wavelength().
|
private |
Definition at line 85 of file RoughMultiLayerComputation.cpp.
References mp_sample, ProcessedSample::slices(), and anonymous_namespace{SlicedCylindersBuilder.cpp}::wavelength().
Referenced by compute().
|
private |
Definition at line 92 of file RoughMultiLayerComputation.cpp.
References ProcessedSample::bottomRoughness(), exp_I(), ProcessedSample::fresnelMap(), IFresnelMap::getInCoefficients(), anonymous_namespace{RoughMultiLayerComputation.cpp}::h_min(), anonymous_namespace{RoughMultiLayerComputation.cpp}::h_plus(), mp_sample, and ProcessedSample::slices().
Referenced by compute().
|
private |
Definition at line 35 of file RoughMultiLayerComputation.h.
Referenced by compute(), get_refractive_term(), and get_sum8terms().