ufpCheckNumUsrVals()

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

Syntax

ufpCheckNumUsrVals ( ufpHd, nUsrVals ) ;

Type

AcuSolve User-Defined Function Basic Routine

Parameters

ufpHd (pointer)
The opaque handle 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 particle tracer exits. For example,
ufpCheckNumUsrVals( ufpHd, 2 ) ;

Errors

This routine expects a valid ufpHd.