udfGetNicIds()
Return the nodal initial condition user node numbers.
Syntax
nodeIds = udfGetNicIds( udfHd ) ;
Type
AcuSolve User-Defined Name Initial 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 = udfGetNicIds( udfHd ) ;
for ( node = 0 ; node < nItems ; node++ ) {
usrNode = nodeIds[node] ;
...
}
Errors
- This routine expects a valid udfHd.
- This routine may only be called within a Nodal Initial Condition user function.