15 #ifndef BORNAGAIN_CORE_COMPUTATION_ICOMPUTATION_H 
   16 #define BORNAGAIN_CORE_COMPUTATION_ICOMPUTATION_H 
   43     bool isCompleted()
 const { 
return m_status.isCompleted(); }
 
   44     std::string errorMessage()
 const { 
return m_status.errorMessage(); }
 
   50     std::unique_ptr<ProcessedSample> mP_processed_sample;
 
   53     virtual void runProtected() = 0;
 
Defines and implements interface class ComputationStatus.
Defines class SimulationOptions.
Completion status (flag and text) of a numeric computation.
Interface for a single-threaded computation with given range of SimulationElements and ProgressHandle...
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.