Click or drag to resize

SimulationParametersMaxNumThreads Property

Maximum number of threads to use. Set to zero for unlimited.

Using more than one thread may give different results, due change in order of calculations and therefor different rounding errors from simulation to simulation when running multiple threads. If exact same results are required for each simulation, set this to 1.

The number of threads actually used are limited by the smallest of this number, the number of logical processing units (number of CPU cores), the license and the OMP_NUM_THREADS environment variable.

Namespace:  DHI.Mike1D.SimLauncher
Assembly:  DHI.Mike1D.SimLauncher (in DHI.Mike1D.SimLauncher.dll) Version: 19.0.0.0 (11.1.1.1111)
Syntax
public int MaxNumThreads { get; set; }

Property Value

Type: Int32
See Also