DMGetCoordinateField#

Get the DMField representation of the mesh coordinates

Synopsis#

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

Not Collective

Input Parameter#

  • dm - the DM

Output Parameter#

  • field - the DMField describing the coordinates

Note#

If the coordinate field does not yet exist, the DM implementation is asked to construct one.

See Also#

DM, DMField, DMSetCoordinateField(), DMGetCoordinateDM(), DMGetCoordinates()

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