DMGetCoordinateDM#

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

Synopsis#

#include "petscdm.h"          
PetscErrorCode DMGetCoordinateDM(DM dm, DM *cdm)

Collective

Input Parameter#

  • dm - the DM

Output Parameter#

  • cdm - coordinate DM

See Also#

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

Level#

intermediate

Location#

src/dm/interface/dmcoordinates.c

Examples#

src/ksp/ksp/tutorials/ex70.c
src/ts/tutorials/ex11_sa.c
src/ksp/ksp/tutorials/ex49.c
src/ts/tutorials/ex47.c
src/ksp/ksp/tutorials/ex42.c
src/ts/tutorials/ex34.c
src/ksp/ksp/tutorials/ex43.c
src/snes/tutorials/ex5.c
src/ts/tutorials/ex11.c
src/snes/tutorials/ex55.c


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