DMDAGetHeightStratum#

Get the bounds [start, end) for all points at a certain height.

Synopsis#

#include "petscdmda.h"   
PetscErrorCode DMDAGetHeightStratum(DM dm, PetscInt height, PeOp PetscInt *pStart, PeOp PetscInt *pEnd)

Not Collective

Input Parameters#

  • dm - The DMDA object

  • height - The requested height

Output Parameters#

  • pStart - The first point at this height

  • pEnd - One beyond the last point at this height

Note#

See DMPlexGetHeightStratum() for the meaning of these values

See Also#

DMPlex: Unstructured Grids, DM, DMDA, DMPlexGetDepthStratum(), DMPlexGetHeightStratum(), DMPlexGetCellTypeStratum(), DMPlexGetDepth(), DMPlexGetDepthLabel(), DMPlexGetPointDepth(), DMPlexSymmetrize(), DMPlexInterpolate(), DMDAGetDepthStratum()

Level#

developer

Location#

src/dm/impls/da/dalocal.c

Examples#

src/dm/field/tutorials/ex1.c


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