DMGetDS#

Get the default PetscDS

Synopsis#

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

Not collective

Input Parameter#

  • dm - The DM

Output Parameter#

  • prob - The default PetscDS

See Also#

DMGetCellDS(), DMGetRegionDS()

Level#

intermediate

Location#

src/dm/interface/dm.c

Examples#

src/dm/impls/plex/tutorials/ex4f90.F90.html
src/snes/tutorials/ex12.c.html
src/snes/tutorials/ex13.c.html
src/snes/tutorials/ex17.c.html
src/snes/tutorials/ex20.c.html
src/snes/tutorials/ex24.c.html
src/snes/tutorials/ex26.c.html
src/snes/tutorials/ex36.c.html
src/snes/tutorials/ex56.c.html
src/snes/tutorials/ex62.c.html
src/snes/tutorials/ex63.c.html


Edit on GitLab

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