udfSetSdEbcId()

Set the ID of a boundary element set.

Syntax

udfSetSdEbcId( udfHd, ebcId ) ;

Type

AcuSolve User-Defined Subdomain Routine

Parameters

udfHd
The opaque handle (pointer) which was passed to the user function.
ebcId (integer)
Boundary element set index.

Return Value

None.

Description

This routine sets the index of a boundary element set. For example,
Integer nEbcs, ebcId ;
...
nEbcs = udfGetNSdEbcs( udfHd ) ;
for ( ebcId = 0 ; ebcId < nEbcs ; ebcId++ ) {
   udfSetSdEbcId( udfHd, ebcId ) ;
   ...
}

Errors

  • This routine expects a valid udfHd.
  • This routine may only be called within an external code.
  • ebcId must be from 0 to nEbcs - 1.