udfGetGlobalHistsPrev3()

Get the previous global history variables.

Syntax

vec = udfGetGlobalHistsPrev3( udfHd, nSize, id1, id2, id3 ) ;

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.
id3 (integer)
index 3.

Return Value

vec (real)
Pointer to the global vector.

Description

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

Errors

This routine expects a valid udfHd.