udfGetUsrVals()
Return the array of user-supplied values.
Syntax
usrVals = udfGetUsrVals( udfHd ) ;
Type
AcuSolve User-Defined Function Basic
Parameters
- udfHd
- The opaque handle (pointer) which was passed to the user function.
Return Value
- usrVals (real)
- The return value is a pointer to one-dimensional real array of user values as given in the input file. This array has udfGetNumUsrVals() 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 ;
...
udfCheckNumUsrVals( udfHd, 2 ) ;
usrVals = udfGetUsrVals( udfHd ) ;
amp = usrVals[0] ;
omega = usrVals[1] ;
Errors
This routine expects a valid udfHd.