petsc-3.14.6 2021-03-30
Report Typos and Errors

DMSetCoordinateDM

Sets the DM that prescribes coordinate layout and scatters between global and local coordinates

Synopsis

#include "petscdm.h"          
#include "petscdmlabel.h"     
#include "petscds.h"     
PetscErrorCode DMSetCoordinateDM(DM dm, DM cdm)
Logically Collective on dm

Input Parameters

dm - the DM
cdm - coordinate DM

See Also

DMGetCoordinateDM(), DMSetCoordinates(), DMSetCoordinatesLocal(), DMGetCoordinates(), DMGetCoordinatesLocal()

Level

intermediate

Location

src/dm/interface/dm.c

Examples

src/snes/tutorials/ex12.c.html
src/snes/tutorials/ex77.c.html
src/ts/tutorials/ex48.c.html

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