udfSetSdElmId()

Set the ID of an interior element set.

Syntax

udfSetSdElmId( udfHd, elmId ) ;

Type

AcuSolve User-Defined Subdomain Routine

Parameters

udfHd
The opaque handle (pointer) which was passed to the user function.
elmId (integer)
Element set index.

Return Value

None.

Description

This routine sets the index of an interior element set. For example,
Integer nElms, elmId ;
...
nElms = udfGetNSdElms( udfHd ) ;
for ( elmId = 0 ; elmId < nElms ; elmId++ ) {
   udfSetSdElmId( udfHd, elmId ) ;
   ...
}

Errors

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