udfCheckNumUsrVals()

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

Syntax

udfCheckNumUsrVals( udfHd, nUsrVals ) ;

Type

AcuSolve User-Defined Function Basic

Parameters

udfHd
The opaque handle (pointer) which was passed to the user function.
nUsrVals
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,
udfCheckNumUsrVals( udfHd, 2 ) ;

Errors

This routine expects a valid udfHd.