DMSetCoordinateField — PETSc 3.25.4 documentation

Skip to main content
`Ctrl`+`K`

# DMSetCoordinateField

Set the `DMField` representation of the mesh coordinates

## Synopsis

    #include "petscdm.h"
    PetscErrorCode DMSetCoordinateField(DM dm, DMField field)

Logically Collective

## Input Parameters

- dm - the `DM`

- field - the `DMField` describing the coordinates

## See Also

`DM`, `DMField`, `DMGetCoordinateField()`, `DMSetCoordinateDM()`, `DMSetCoordinates()`

## Level

advanced

## Location

src/dm/interface/dmcoordinates.c

Index of all DM routines
Table of Contents for all manual pages
Index of all manual pages