udfGetEbcIds()
Return element boundary condition user surface numbers.
Syntax
surfIds = udfGetEbcIds( udfHd ) ;
Type
AcuSolve User-Defined Example Boundary Condition
Parameters
- udfHd
- The opaque handle (pointer) which was passed to the user function.
Return Value
- surfIds (Integer*)
- Pointer to one dimensional integer array of user surface numbers. The array dimension is the number of surfaces, nItems.
Description
This routine returns the array of user surface numbers. This is the second array column of the
parameter surfaces of the command ELEMENT_BOUNDARY_CONDITION in the
input file. For
example,
Integer* surfIds ;
Integer usrSurf, surf ;
...
surfIds = udfGetEbcIds( udfHd ) ;
for ( surf = 0 ; surf < nItems ; surf++ ) {
usrSurf = surfIds[surf] ;
...
}
Errors
- This routine expects a valid udfHd.
- This routine may only be called within an Element Boundary Condition user function.