udfGetNbcUsrVals()
Return the array of user supplied values.
Syntax
nUsrVals = udfGetNbcUsrVals( udfHd ) ;
Type
AcuSolve User-Defined Nodal Boundary Condition
Parameters
- udfHd
- The opaque handle (pointer) which was passed to the user function.
Return Value
- usrVals (Real*)
- Pointer to one-dimensional real array of user values as given in the input file. This array has udfGetNbcNumUsrVals() entries.
Description
Real* usrVals ;
Real amp, omega ;
...
udfCheckNbcNumUsrVals( udfHd, 2 ) ;
usrVals = udfGetNbcUsrVals( udfHd ) ;
amp = usrVals[0] ;
omega = usrVals[1] ;
Errors
This routine expects a valid udfHd.