udfBcastVector()

Broadcast a vector to all processors from the primary processor/subdomain.

Syntax

udfBcastVector( udfHd, vec, nDims ) ;

Type

AcuSolve User-Defined Function Basic

Parameters

udfHd
The opaque handle (pointer) which was passed to the user function.
vec (real)
Pointer to vector of data.
nDims (integer)
Size of vector.

Return Value

None

Description

This routine broadcasts a vector to all processors from the primary processor. For example,
Real vec[3]     = { 1., 0., 0. } ;
Integer nDims   = 3 ;
udfBcastVector( udfHd, vec, nDims ) ;

Errors

This routine expects a valid udfHd.