DMCreateDS#
Create the discrete systems for the DM
based upon the fields added to the DM
Synopsis#
#include "petscdm.h"
#include "petscdmlabel.h"
#include "petscds.h"
PetscErrorCode DMCreateDS(DM dm)
Collective
Input Parameter#
dm - The
DM
Options Database Key#
See Also#
DM Basics, DM
, DMSetField
, DMAddField()
, DMGetDS()
, DMGetCellDS()
, DMGetRegionDS()
, DMSetRegionDS()
Level#
intermediate
Location#
Examples#
src/dm/impls/swarm/tutorials/ex1f90.F90
src/dm/impls/plex/tutorials/ex8.c
src/ts/tutorials/ex77.c
src/dm/impls/plex/tutorials/ex15.c
src/dm/impls/plex/tutorials/ex16.c
src/ts/tutorials/ex47.c
src/dm/impls/swarm/tutorials/ex1.c
src/dm/dt/dualspace/impls/lagrange/tutorials/ex2.c
src/dm/field/tutorials/ex1.c
src/ts/tutorials/ex48.c
Index of all DM routines
Table of Contents for all manual pages
Index of all manual pages