# udfGetEbcNElems()

Return the number of elements in the boundary element set.

## Syntax

nElems = udfGetEbcNElems( udfHd ) ;

## Type

AcuSolve User-Defined Example Boundary Condition

## Parameters

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

## Return Value

nElems (integer)
Number of elements in the boundary element set.

## Description

This routine returns the number of elements in the boundary element set. This is the number of rows of the parameter elements of the command ELEMENT_BOUNDARY_CONDITION in the input file. For example,
Integer nElems ;
...
nElems = udfGetEbcNElems( udfHd ) ;

## Errors

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