# udfGetNbcCrd()

Return the nodal coordinates for the nodal boundary condition.

## Syntax

crd = udfGetNbcCrd( udfHd ) ;

## Type

AcuSolve User-Defined Nodal Boundary Condition

## Parameters

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

## Return Value

- crd (Real*)
- Pointer to two dimensional real array of nodal coordinates. The first (fast) dimension of the array is the number of nodes, nItems, and the second (slow) dimension is three, for the x, y and z coordinates.

## Description

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

## Errors

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