16 #error no need to expose this header to Swig
20 #ifndef BORNAGAIN_CORE_COMPUTATION_DWBACOMPUTATION_H
21 #define BORNAGAIN_CORE_COMPUTATION_DWBACOMPUTATION_H
38 ProgressHandler& progress, std::vector<SimulationElement>::iterator begin_it,
39 std::vector<SimulationElement>::iterator end_it,
bool forcePolarized=
false);
Defines class DWBASingleComputation.
Defines interface IComputation.
Performs a single-threaded DWBA computation with given sample and simulation parameters.
void runProtected() override
DWBAComputation(const MultiLayer &multilayer, const SimulationOptions &options, ProgressHandler &progress, std::vector< SimulationElement >::iterator begin_it, std::vector< SimulationElement >::iterator end_it, bool forcePolarized=false)
DWBASingleComputation m_single_computation
Contains the information, necessary to calculate the Fresnel coefficients.
~DWBAComputation() override
std::vector< SimulationElement >::iterator m_begin_it
These iterators define the span of detector bins this simulation will work on.
std::vector< SimulationElement >::iterator m_end_it
Class that handles all the computations involved in GISAS (particles, roughness,.....
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.
Data stucture containing both input and output of a single detector cell.
Collect the different options for simulation.