|
BornAgain
1.18.0
Simulate and fit neutron and x-ray scattering at grazing incidence
|
Collect the different options for simulation. More...
Public Member Functions | |
| bool | isIntegrate () const |
| size_t | getMcPoints () const |
| void | setMonteCarloIntegration (bool flag=true, size_t mc_points=50) |
| Enables/disables MonetCarlo integration. More... | |
| void | setNumberOfThreads (int nthreads) |
| Sets number of threads to use during the simulation (0 - take the default value from the hardware) | |
| unsigned | getNumberOfThreads () const |
| void | setNumberOfBatches (int nbatches) |
| Sets number of batches to split. | |
| unsigned | getNumberOfBatches () const |
| unsigned | getCurrentBatch () const |
| void | setThreadInfo (const ThreadInfo &thread_info) |
| Sets the batch and thread information to be used. | |
| unsigned | getHardwareConcurrency () const |
| void | setIncludeSpecular (bool include_specular) |
| bool | includeSpecular () const |
| void | setUseAvgMaterials (bool use_avg_materials) |
| bool | useAvgMaterials () const |
Collect the different options for simulation.
Definition at line 27 of file SimulationOptions.h.
| void SimulationOptions::setMonteCarloIntegration | ( | bool | flag = true, |
| size_t | mc_points = 50 |
||
| ) |
Enables/disables MonetCarlo integration.
| flag | If true, MonteCarlo integration will be used, otherwise analytical calculations |
| mc_points | Number of points for MonteCarlo integrator |
Definition at line 30 of file SimulationOptions.cpp.