15 #ifndef BORNAGAIN_GUI_COREGUI_MODELS_SIMULATIONOPTIONSITEM_H
16 #define BORNAGAIN_GUI_COREGUI_MODELS_SIMULATIONOPTIONSITEM_H
36 int getNumberOfThreads()
const;
37 bool runImmediately()
const;
38 bool runInBackground()
const;
40 void setRunPolicy(
const QString& policy);
42 void setComputationMethod(
const QString&
name);
43 QString getComputationMethod()
const;
45 int getNumberOfMonteCarloPoints()
const;
46 void setNumberOfMonteCarloPoints(
int npoints);
48 void setFresnelMaterialMethod(
const QString&
name);
49 QString getFresnelMaterialMethod()
const;
51 void setIncludeSpecularPeak(
const QString&
name);
52 QString getIncludeSpecularPeak()
const;
55 QString runPolicy()
const;
56 QStringList getCPUUsageOptions();
57 QStringList getRunPolicyNames();
58 void updateComboItem(QString
name, QStringList option_names);
Defines class SessionItem.
The SimulationOptionsItem class holds simulation status (run policy, number of threads,...
QMap< QString, int > m_text_to_nthreads
static const QString P_RUN_POLICY
static const QString P_MC_POINTS
static const QString P_INCLUDE_SPECULAR_PEAK
static const QString P_NTHREADS
static const QString P_COMPUTATION_METHOD
static const QString P_FRESNEL_MATERIAL_METHOD
QString const & name(EShape k)