15 #ifndef BORNAGAIN_CORE_COMPUTATION_SPECULARCOMPUTATION_H
16 #define BORNAGAIN_CORE_COMPUTATION_SPECULARCOMPUTATION_H
32 using SpecularElementIter = std::vector<SpecularSimulationElement>::iterator;
37 SpecularElementIter end_it);
41 void runProtected()
override;
44 SpecularElementIter m_begin_it, m_end_it;
45 std::unique_ptr<SpecularComputationTerm> m_computation_term;
Defines interface IComputation.
Interface for a single-threaded computation with given range of SimulationElements and ProgressHandle...
Our sample model: a stack of layers one below the other.
Maintains information about progress of a computation.
Collect the different options for simulation.
Computes the specular scattering.
Performs a single-threaded specular computation with given sample.
Data stucture containing both input and output of a single image pixel for specular simulation.