DMGetDS#

Get the default PetscDS

Synopsis#

#include "petscdm.h"          
#include "petscdmlabel.h"     
#include "petscds.h"     
PetscErrorCode DMGetDS(DM dm, PetscDS *ds)

Not Collective

Input Parameter#

  • dm - The DM

Output Parameter#

Note#

The ds is owned by the dm and should not be destroyed directly.

See Also#

DM Basics, DM, DMGetCellDS(), DMGetRegionDS()

Level#

intermediate

Location#

src/dm/interface/dm.c

Examples#

src/snes/tutorials/ex63.c
src/tao/tutorials/ex2.c
src/snes/tutorials/ex27.c
src/dm/impls/plex/tutorials/ex4f90.F90
src/snes/tutorials/ex34.c
src/tao/tutorials/ex1.c
src/snes/tutorials/ex56.c
src/tao/tutorials/ex3.c
src/snes/tutorials/ex17.c
src/snes/tutorials/ex64.c


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