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
  • DMGetCoordin...

DMGetCoordinateSection#

Retrieve the PetscSection of coordinate values over the mesh.

Synopsis#

#include "petscdm.h"          
PetscErrorCode DMGetCoordinateSection(DM dm, PetscSection *section)

Collective

Input Parameter#

  • dm - The DM object

Output Parameter#

  • section - The PetscSection object

Note#

This just retrieves the local section from the coordinate DM. In other words,

  DMGetCoordinateDM(dm, &cdm);
  DMGetLocalSection(cdm, &section);

See Also#

DM, DMGetCoordinateDM(), DMGetLocalSection(), DMSetLocalSection()

Level#

intermediate

Location#

src/dm/interface/dmcoordinates.c

Examples#

src/dm/impls/plex/tests/ex100.c
src/dm/impls/plex/tests/ex103.c
src/dm/impls/plex/tests/ex18.c
src/dm/impls/plex/tests/ex22.c
src/dm/impls/plex/tests/ex26.c
src/dm/impls/plex/tests/ex26f90.F90
src/dm/impls/plex/tests/ex3.c
src/dm/impls/plex/tests/ex62f90.F90
src/dm/impls/plex/tests/ex64.c
src/dm/impls/plex/tests/ex8.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
  • Note
  • 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).