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/ex76.c
src/snes/tutorials/ex77.c
src/snes/tutorials/ex17.c
src/snes/tutorials/ex11.c
src/snes/tutorials/ex27.c
src/snes/tutorials/ex13.c
src/snes/tutorials/ex34.c
src/snes/tutorials/ex64.c
src/snes/tutorials/ex69.c
src/snes/tutorials/ex26.c
Index of all DM routines
Table of Contents for all manual pages
Index of all manual pages