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
Real* usrVals ;
Real amp, omega ;
...
ufpCheckNumUsrVals( ufpHd, 2 ) ;
usrVals = ufpGetUsrVals( ufpHd ) ;
amp = usrVals[0] ;
omega = usrVals[1] ;
Errors
This routine expects a valid ufpHd.