Click or drag to resize

MPIMPI_Is_thread_main Method (Int32)

Determine whether the calling thread is the main MPI thread (that called MPI_Init(Int32, Byte**) or MPI_Init_thread(Int32, Byte**, Int32, Int32). See [!:MPI.Environment.IsMainThread].

Namespace:  DHI.MPI
Assembly:  DHI.Mike1D.Engine (in DHI.Mike1D.Engine.dll) Version: 16.0.0.0 (11.1.1.1111)
Syntax
C#
public static int MPI_Is_thread_main(
	out int flag
)

Parameters

flag
Type: SystemInt32
Returns whether the calling thread is the main thread.

Return Value

Type: Int32
See Also