23 : m_sim_options(options), mp_progress(&progress),
28 IComputation::~IComputation() =
default;
30 void IComputation::run()
32 m_status.setRunning();
35 m_status.setCompleted();
36 }
catch (
const std::exception& ex) {
37 m_status.setErrorMessage(std::string(ex.what()));
Defines interface IComputation.
Defines class MultiLayer.
Defines class ProcessedSample.
Defines class ProgressHandler.
Defines class SimulationElement.
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.