ufpGetUsrVals()

Return the array of user-supplied values.

Syntax

usrVals = ufpGetUsrVals ( ufpHd ) ;

Type

AcuSolve User-Defined Function Basic Routine

Parameters

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

Return Value

The return value is a pointer to one-dimensional real array of user values as given in the input file. This array has ufpGetNumUsrVals() entries.

Description

This routine returns the real array of user-given parameters. The order of the parameters within the array is the same as in the input file. For example,
Real* usrVals ;
Real amp, omega ;
...
ufpCheckNumUsrVals( ufpHd, 2 ) ;
usrVals = ufpGetUsrVals( ufpHd ) ;
amp     = usrVals[0] ;
omega   = usrVals[1] ;

Errors

This routine expects a valid ufpHd.