16 #error no need to expose this header to Swig
20 #ifndef BORNAGAIN_CORE_COMPUTATION_ICOMPUTATION_H
21 #define BORNAGAIN_CORE_COMPUTATION_ICOMPUTATION_H
Defines and implements interface class ComputationStatus.
Defines class SimulationOptions.
Completion status (flag and text) of a numeric computation.
std::string errorMessage() const
Interface for a single-threaded computation with given range of SimulationElements and ProgressHandle...
ProgressHandler * m_progress
virtual void runProtected()=0
IComputation(const MultiLayer &sample, const SimulationOptions &options, ProgressHandler &progress, bool forcePolarized=false)
std::unique_ptr< ProcessedSample > m_processed_sample
SimulationOptions m_sim_options
ComputationStatus m_status
std::string errorMessage() const
Our sample model: a stack of layers one below the other.
Data structure that contains all the necessary data for scattering calculations.
Maintains information about progress of a computation.
Collect the different options for simulation.