udfCheckNumUsrStrs()

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

Syntax

udfCheckNumUsrStrs( udfHd, nUsrStrs ) ;

Type

AcuSolve User-Defined Function Basic

Parameters

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

Return Value

None

Description

This routine verifies that the number of user strings 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,
udfCheckNumUsrStrs( udfHd, 2 ) ;

Errors

This routine expects a valid udfHd.