15 #ifndef BORNAGAIN_CORE_COMPUTATION_ROUGHMULTILAYERCOMPUTATION_H
16 #define BORNAGAIN_CORE_COMPUTATION_ROUGHMULTILAYERCOMPUTATION_H
Defines complex_t, and a few elementary functions.
std::complex< double > complex_t
Data structure that contains all the necessary data for scattering calculations.
Computes the diffuse reflection from the rough interfaces of a multilayer.
void compute(SimulationElement &elem) const
complex_t get_sum8terms(size_t ilayer, const SimulationElement &sim_element) const
complex_t get_refractive_term(size_t ilayer, double wavelength) const
const ProcessedSample * mp_sample
RoughMultiLayerComputation(const ProcessedSample *p_sample)
Data stucture containing both input and output of a single detector cell.
const double wavelength(0.154)