udfGetGlobalHistsPrev1()

Get the previous global history variables.

Syntax

vec = udfGetGlobalHistsPrev1( udfHd, nSize, id1 ) ;

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.

Return Value

vec (real)
Pointer to the global vector.

Description

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

Errors

This routine expects a valid udfHd.