udfGetProcld()

Return the processor ID.

Syntax

nProc = udfGetProcId( udfHd ) ;

Type

AcuSolve User-Defined Function Basic

Parameters

udfHd
The opaque handle (pointer) which was passed to the user function.

Return Value

nProc (integer)
The rank of the processor that is calling the function.

Description

The returned integer is the rank of the processor that is calling the function. For example,
Integer nProc ;
...
nProc = udfGetProcId( udfHd ) ;

Errors

This routine expects a valid udfHd as an argument; an invalid argument returns an error.