Click or drag to resize

EngineNetGetNumberOfThreads Method

Get the number of threads, taking the smallest of: input argument, the "OMP_NUM_THREADS" environment variable and the number of cores on the computer.

If the number of threads is smaller than the number of cores on the computer, and "OMP_NUM_THREADS" is not set, then "OMP_NUM_THREADS" is set to this value.

Namespace:  DHI.Mike1D.Engine
Assembly:  DHI.Mike1D.Engine (in DHI.Mike1D.Engine.dll) Version: 19.0.0.0 (11.1.1.1111)
Syntax
public int GetNumberOfThreads()

Return Value

Type: Int32

[Missing <returns> documentation for "M:DHI.Mike1D.Engine.EngineNet.GetNumberOfThreads"]

See Also