Skip to main content
Ctrl+K
PETSc v3.23.3-230-ga3f8f6a37e1fd 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
  • DMAdaptFlag

DMAdaptFlag#

Marker in the label prescribing what adaptation to perform

Synopsis#

typedef enum {
  DM_ADAPT_DETERMINE      = PETSC_DETERMINE,
  DM_ADAPT_KEEP           = 0,
  DM_ADAPT_REFINE         = 1,
  DM_ADAPT_COARSEN        = 2,
  DM_ADAPT_COARSEN_LAST   = 3,
  DM_ADAPT_RESERVED_COUNT = 4
} DMAdaptFlag;

Values#

  • DM_ADAPT_DETERMINE - undocumented

  • DM_ADAPT_KEEP - undocumented

  • DM_ADAPT_REFINE - undocumented

  • DM_ADAPT_COARSEN - undocumented

  • DM_ADAPT_COARSEN_LAST - undocumented

See Also#

DM Basics, DM, DMAdaptor, DMAdaptationStrategy, DMAdaptationCriterion, DMAdaptorSolve(), DMAdaptLabel()

Level#

beginner

Location#

include/petscdmtypes.h

Examples#

src/ts/tutorials/ex11.c
src/snes/tutorials/ex27.c
src/dm/impls/plex/tutorials/ex10.c

Examples#

src/ts/tutorials/ex11.c
src/snes/tutorials/ex27.c
src/ts/tutorials/ex30.c
src/dm/impls/plex/tutorials/ex10.c


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

On this page
  • Synopsis
  • Values
  • See Also
  • Level
  • Location
  • Examples
  • Examples
Edit on GitLab
Show Source

© Copyright 1991-2025, 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 2025-06-16T03:45:28-0500 (v3.23.3-230-ga3f8f6a37e1fd).