16 #error no need to expose this header to Swig
20 #ifndef BORNAGAIN_SIM_COMPUTATION_SPECULARCOMPUTATION_H
21 #define BORNAGAIN_SIM_COMPUTATION_SPECULARCOMPUTATION_H
Defines interface IComputation.
Interface for a single-threaded computation with given range of DiffuseElements and ProgressHandler.
Maintains information about progress of a computation.
Collect the different options for simulation.SimulationOptions.
Performs a single-threaded specular computation with given sample.
SpecularComputation(const reSample &re_sample, const SimulationOptions &options, ProgressHandler &progress, SpecularElementIter begin_it, SpecularElementIter end_it)
std::vector< SpecularElement >::iterator SpecularElementIter
void runProtected() override
Runs computation. May throw. To be called from run(), which catches exceptions.
const SpecularElementIter m_begin_it
these iterators define the span of detector bins this simulation will work on
const SpecularElementIter m_end_it
~SpecularComputation() override
Data stucture containing both input and output of a single image pixel for specular simulation.
Data structure that contains all the necessary data for scattering calculations.