udfPrintMessPrim()

Print a message to the standard output, or .log file, if active, for the primary processor/subdomain.

Syntax

udfPrintMessPrim( udfHd, format, ... ) ;

Type

AcuSolve User-Defined Function Basic

Parameters

udfHd
The opaque handle (pointer) which was passed to the user function.
format (string)
C printf() format.
... (vararg)
List of C variables.

Return Value

None

Description

This routine prints a message to the standard output, or the .log file, if active, but only for the primary processor or subdomain. The argument list is the same as that of fprintf(, except that here udfHd takes the place of the file descriptor. For example,
udfPrintMessPrim( udfHd, "return value is %g", outVec[0] ) ;

Errors

This routine expects a valid udfHd.