DMGetCellCoordinateSection#

Retrieve the PetscSection of cellwise coordinate values over the mesh.

Synopsis#

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

Collective

Input Parameter#

  • dm - The DM object

Output Parameter#

  • section - The PetscSection object, or NULL if no cellwise coordinates are defined

Note#

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

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

See Also#

DM, DMGetCoordinateSection(), DMSetCellCoordinateSection(), DMGetCellCoordinateDM(), DMGetCoordinateDM(), DMGetLocalSection(), DMSetLocalSection()

Level#

intermediate

Location#

src/dm/interface/dmcoordinates.c


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