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