udfCheckNumUsrHists()

Check the number of user history variables given in the input file.

Syntax

udfCheckNumUsrHists( udfHd, nUsrHists ) ;

Type

AcuSolve User-Defined Function Basic

Parameters

udfHd
The opaque handle (pointer) which was passed to the user function.
usrStrs
The number of user history variables that the function expects.

Return Value

None.

Description

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

Errors

This routine expects a valid udfHd.