15 #ifndef BORNAGAIN_CORE_PARAMETRIZATION_SIMULATIONOPTIONS_H
16 #define BORNAGAIN_CORE_PARAMETRIZATION_SIMULATIONOPTIONS_H
Defines struct ThreadInfo.
Collect the different options for simulation.
void setNumberOfBatches(int nbatches)
Sets number of batches to split.
size_t getMcPoints() const
void setUseAvgMaterials(bool use_avg_materials)
unsigned getNumberOfBatches() const
unsigned getCurrentBatch() const
bool includeSpecular() const
unsigned getHardwareConcurrency() const
unsigned getNumberOfThreads() const
void setThreadInfo(const ThreadInfo &thread_info)
Sets the batch and thread information to be used.
bool useAvgMaterials() const
void setIncludeSpecular(bool include_specular)
void setNumberOfThreads(int nthreads)
Sets number of threads to use during the simulation (0 - take the default value from the hardware)
void setMonteCarloIntegration(bool flag=true, size_t mc_points=50)
Enables/disables MonetCarlo integration.
Information to run simulation with dedicated number of threads.