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.

Definition

Namespace: DHI.Mike1D.Engine
Assembly: DHI.Mike1D.Engine (in DHI.Mike1D.Engine.dll) Version: 24.0.0.0 (11.1.1.1111)
C#
public int GetNumberOfThreads()

Return Value

Int32

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

See Also