udfGetGlobalHistsCurr2()

Get the current global history variables.

Syntax

vec = udfGetGlobalHistsCurr2( udfHd, nSize, id1, id2 ) ;

Type

AcuSolve User-Defined Function Global

Parameters

udfHd
The opaque handle (pointer) which was passed to the user function.
nSize (integer)
Size of vector.
id1 (integer)
index 1.
id2 (integer)
index 2.

Return Value

vec (real)
Pointer to the global vector.

Description

This routine returns a pointer to (id1, id2)-th current global history variables in size nSize vector. For example,
Real* vec ;
...
vec = udfGetGlobalHistsCurr2( udfHd, nSize, id1, id2 )

Errors

This routine expects a valid udfHd.