udfCheckNbcNumAuxs()

Check the number of auxiliary nodes given in the input file.

Syntax

udfCheckNbcNumAuxs( udfHd, nAuxs ) ;

Type

AcuSolve User-Defined Nodal Boundary Condition

Parameters

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

Return Value

None.

Description

This routine verifies that the number of auxiliary nodes 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,
udfCheckNbcNumAuxs( udfHd, 3 ) ;

Errors

  • This routine expects a valid udfHd.