udfCheckNbcNumUsrVals()

Check the number of user values given in the input file.

Syntax

udfCheckNbcNumUsrVals( udfHd, nUsrVals ) ;

Type

AcuSolve User-Defined Nodal Boundary Condition

Parameters

udfHd
The opaque handle (pointer) which was passed to the user function.
nUsrVals (integer)
Number of user values that the function expects.

Return Value

None.

Description

This routine verifies that the number of user values supplied in the input file is the same as the second argument. If it is not, an error message is issued and the solver exits. For example,
udfCheckNbcNumUsrVals( udfHd, 2 ) ;

Errors

This routine expects a valid udfHd.