23 : m_sim_options(options)
24 , m_progress(&progress)
25 , m_processed_sample(
std::make_unique<
ProcessedSample>(sample, options, forcePolarized))
37 }
catch (
const std::exception& ex) {
Defines interface IComputation.
Defines class MultiLayer.
Defines class ProcessedSample.
Defines class ProgressHandler.
Defines class SimulationElement.
void setFailed(const std::string &message)
virtual void runProtected()=0
IComputation(const MultiLayer &sample, const SimulationOptions &options, ProgressHandler &progress, bool forcePolarized=false)
ComputationStatus m_status
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.