Skip to main content
Ctrl+K
PETSc v3.25.5-968-g5b51e5f1332b documentation - Home
  • Overview
  • Install
  • Tutorials
  • User-Guide
  • C/Fortran API
  • petsc4py API
  • FAQ
  • Community
  • Developers
  • Misc.
  • GitLab
  • Overview
  • Install
  • Tutorials
  • User-Guide
  • C/Fortran API
  • petsc4py API
  • FAQ
  • Community
  • Developers
  • Misc.
  • GitLab
  • DMShellCreate

DMShellCreate#

Creates a DMSHELL object, used to manage user-defined problem data

Synopsis#

#include "petscdmshell.h"  
PetscErrorCode DMShellCreate(MPI_Comm comm, DM *dm)

Collective

Input Parameter#

  • comm - the processors that will share the global vector

Output Parameter#

  • dm - the DMSHELL

See Also#

DMDestroy(), DMCreateGlobalVector(), DMCreateLocalVector(), DMShellSetContext(), DMShellGetContext()

Level#

advanced

Location#

src/dm/impls/shell/dmshell.c

Examples#

src/dm/tutorials/swarm_ex3.c
src/dm/dt/tests/ex5.c
src/dm/impls/plex/tests/ex21.c
src/dm/tests/ex54f.F90
src/dm/tests/ex8.c
src/ksp/ksp/tutorials/ex65.c
src/ksp/ksp/tutorials/ex73.c
src/snes/tutorials/ex73f90t.F90
src/ksp/ksp/tests/ex45.c


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

On this page
  • Synopsis
  • Input Parameter
  • Output Parameter
  • See Also
  • Level
  • Location
  • Examples
Edit on GitLab
Show Source

© Copyright 1991-2026, UChicago Argonne, LLC and the PETSc Development Team.

Created using Sphinx 7.3.7.

Built with the PyData Sphinx Theme 0.15.1.

Last updated on 2026-09-19T03:38:49-0500 (v3.25.5-968-g5b51e5f1332b).