petsc-master 2020-10-23
Report Typos and Errors

DMGetCoordinateDM

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

Synopsis

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

Input Parameter

dm - the DM

Output Parameter

cdm - coordinate DM

See Also

DMSetCoordinateDM(), DMSetCoordinates(), DMSetCoordinatesLocal(), DMGetCoordinates(), DMGetCoordinatesLocal()

Level

intermediate

Location

src/dm/interface/dm.c

Examples

src/dm/impls/stag/tutorials/ex1.c.html
src/dm/impls/stag/tutorials/ex3.c.html
src/dm/impls/stag/tutorials/ex4.c.html
src/dm/tutorials/ex3.c.html
src/dm/tutorials/swarm_ex1.c.html
src/dm/tutorials/ex13f90.F90.html
src/ksp/ksp/tutorials/ex42.c.html
src/ksp/ksp/tutorials/ex43.c.html
src/ksp/ksp/tutorials/ex49.c.html
src/ksp/ksp/tutorials/ex70.c.html
src/snes/tutorials/ex5.c.html

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