udfGetGlobalHistsPrev2()

Get the previous global history variables.

Syntax

vec = udfGetGlobalHistsPrev2( 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 previous global history variables in size nSize vector. For example,
Real* vec ;
...
vec = udfGetGlobalHistsPrev2( udfHd, nSize, id1, id2 )

Errors

This routine expects a valid udfHd.