DMGetDimension#
Return the topological dimension of the DM
Synopsis#
#include "petscdm.h"
#include "petscdmlabel.h"
#include "petscds.h"
PetscErrorCode DMGetDimension(DM dm, PetscInt *dim)
Not Collective
Input Parameter#
dm - The
DM
Output Parameter#
dim - The topological dimension
See Also#
DM Basics, DM
, DMSetDimension()
, DMCreate()
Level#
beginner
Location#
Examples#
src/snes/tutorials/ex36.c
src/snes/tutorials/ex20.c
src/snes/tutorials/ex11.c
src/ksp/ksp/tutorials/ex70.c
src/snes/tutorials/ex13.c
src/snes/tutorials/ex77.c
src/snes/tutorials/ex17.c
src/snes/tutorials/ex23.c
src/ksp/ksp/tutorials/ex43.c
src/snes/tutorials/ex69.c
Index of all DM routines
Table of Contents for all manual pages
Index of all manual pages