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
  • DMField

DMField#

PETSc object for defining a field on a mesh topology

Synopsis#

typedef struct _p_DMField *DMField;

See Also#

DM Basics, DM, DMUniversalLabel, DMLabelCreate()

Level#

intermediate

Location#

include/petscdmtypes.h

Examples#

src/dm/field/tutorials/ex1.c
src/dm/dt/fe/tests/ex1.c
src/dm/dt/fe/tests/ex2.c

Object Header#

_p_DMField in include/petsc/private/dmfieldimpl.h

Implementations#

DMField_DA in src/dm/field/impls/da/dmfieldda.c
DMField_DS in src/dm/field/impls/ds/dmfieldds.c
DMField_Shell in src/dm/field/impls/shell/dmfieldshell.c


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

On this page
  • Synopsis
  • See Also
  • Level
  • Location
  • Examples
  • Object Header
  • Implementations
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).