udfHasTemp()

Does this problem contain a temperature equation?

Syntax

tempFlag = udfHasTemp( udfHd ) ;

Type

AcuSolve User-Defined Function Global

Parameters

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

Return Value

tempFlag (integer)
Flag indicating whether or not this problem has temperature equation.
The return value is a flag indicating whether or not this problem has temperature equations:
0
No
1
Yes

Description

This routine determines if this problem contains a temperature equation. For example,
Integer tempFlag ;
...
tempFlag = udfHasTemp( udfHd ) ;
if ( tempFlag == 1 ) {
/* Logic if temperature equations exist */
...
)

Errors

This routine expects a valid udfHd.