DMSetDimension#
Set the topological dimension of the DM
Synopsis#
#include "petscdm.h"
#include "petscdmlabel.h"
#include "petscds.h"
PetscErrorCode DMSetDimension(DM dm, PetscInt dim)
Collective
Input Parameters#
dm - The
DM
dim - The topological dimension
See Also#
DM Basics, DM
, DMGetDimension()
, DMCreate()
Level#
beginner
Location#
Examples#
src/dm/impls/plex/tutorials/ex3f90.F90
src/dm/impls/swarm/tutorials/ex1.c
src/dm/impls/swarm/tutorials/ex1f90.F90
src/dm/tutorials/ex19.c
src/dm/tutorials/ex20.c
src/dm/tutorials/ex21.c
src/dm/tutorials/swarm_ex3.c
src/ksp/ksp/tutorials/ex70.c
src/snes/tutorials/ex63.c
src/ts/tutorials/ex11_sa.c
src/ts/tutorials/ex77.c
Index of all DM routines
Table of Contents for all manual pages
Index of all manual pages