udfHasFlow()

Does this problem contain flow equations?

Syntax

flowFlag = udfHasFlow( udfHd ) ;

Type

AcuSolve User-Defined Function Global

Parameters

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

Return Value

flowFlag (integer)
The return value is a flag indicating whether or not this problem has flow equations:
0
No
1
Yes

Description

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

Errors

This routine expects a valid udfHd.