petsc-3.14.5 2021-03-03
Report Typos and Errors

# DMDARestoreCoordinateArray

Sets an array containing the coordinates of the DMDA

### Synopsis

    #include "petscdmda.h"
    PetscErrorCode DMDARestoreCoordinateArray(DM dm,void *xc)

Not collective

### Input Parameter

| dm | - the DM
| xc | - the coordinates

Not supported from Fortran

### See Also

DMDASetCoordinateName(), DMDASetFieldName(), DMDAGetFieldName(), DMDAGetCoordinateArray()

### Level

intermediate

### Location

src/dm/impls/da/dacorn.c

### Examples

src/ts/tutorials/extchemfield.c.html
Index of all DMDA routines
Table of Contents for all manual pages
Index of all manual pages