udfHasSpec()

Does this problem contain species equations?

Syntax

specFlag = udfHasSpec( udfHd ) ;

Type

AcuSolve User-Defined Function Global

Parameters

udfHd
The opaque handle (pointer) which was passed to the user function.

Return Value

specFlag(integer)
Flag indicating whether or not this problem has species equation(s).

The return value is a flag indicating whether or not this problem has species equations:

0
No
1
Yes

Description

This routine determines if this problem contains species equations. For example,
Integer specFlag ;
...
specFlag = udfHasSpec( udfHd ) ;
if ( specFlag == 1 ) {
/* Logic if species equations exist */
...
)

Errors

This routine expects a valid udfHd.