BornAgain  1.18.0
Simulate and fit neutron and x-ray scattering at grazing incidence
IComputation Class Referenceabstract

Interface for a single-threaded computation with given range of SimulationElements and ProgressHandler. More...

+ Inheritance diagram for IComputation:

Public Member Functions

 IComputation (const MultiLayer &sample, const SimulationOptions &options, ProgressHandler &progress)
 
void run ()
 
bool isCompleted () const
 
std::string errorMessage () const
 

Protected Attributes

SimulationOptions m_sim_options
 
ProgressHandlermp_progress
 
ComputationStatus m_status
 
std::unique_ptr< ProcessedSamplemP_processed_sample
 

Detailed Description

Interface for a single-threaded computation with given range of SimulationElements and ProgressHandler.

Controlled by the multi-threading machinery in Simulation::runSingleSimulation().

Definition at line 34 of file IComputation.h.


The documentation for this class was generated from the following files: