udfGetNbcIds()

Return the nodal boundary condition user node numbers.

Syntax

nodeIds = udfGetNbcIds( udfHd ) ;

Type

AcuSolve User-Defined Nodal Boundary Condition

Parameters

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

Return Value

nodeIds (Integer*)
Pointer to one dimensional integer array of user node numbers. This array has a dimension of number of nodes, nItems.

Description

This routine returns the array of user node numbers. For example,
Integer* nodeIds ;
Integer usrNode, node ;
...
nodeIds = udfGetNbcIds( udfHd ) ;
for ( node = 0 ; node < nItems ; node++ ) {
   usrNode = nodeIds[node] ;
   ...
}

Errors

  • This routine expects a valid udfHd.
  • This routine may only be called within an Nodal Boundary Condition user function.