# udfGetElmAuxCrd()

Return the auxiliary element coordinates at the quadrature point.

## Syntax

crd = udfGetElmAuxCrd( udfHd ) ;

## Type

User Defined Element

## Parameters

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

## Return Value

- crd (Real*)
- Pointer to two dimensional real array of auxiliary element coordinates. The first (fastest) dimension of the array is the number of elements, nItems, and the second (slower) dimension is three, for the x, y and z coordinates.

## Description

```
Real* crd ;
Real x, y, z ;
Integer elem ;
...
crd = udfGetElmAuxCrd( udfHd ) ;
for ( elem = 0 ; elem < nItems ; elem++ ) {
x = crd[0*nItems+elem] ;
y = crd[1*nItems+elem] ;
z = crd[2*nItems+elem] ;
...
}
```

## Errors

- This routine expects a valid udfHd.
- This routine may only be called within a Body Force, Material Model or Component Model user function.