DMIsBoundaryPoint — PETSc 3.25.4 documentation

Skip to main content
`Ctrl`+`K`

# DMIsBoundaryPoint

Determine whether a mesh point lies on a `DM` boundary

## Synopsis

    #include "petscdm.h"
    #include "petscdmlabel.h"
    #include "petscds.h"
    PetscErrorCode DMIsBoundaryPoint(DM dm, PetscInt point, PetscBool *isBd)

Not Collective

## Input Parameters

- dm - the `DM` object

- point - the mesh point number

## Output Parameter

- isBd - `PETSC_TRUE` if `point` belongs to any boundary label registered on the `DM`

## See Also

DM Basics, `DM`, `DMLabel`, `DMAddBoundary()`, `PetscDSGetBoundary()`

## Level

developer

## Location

src/dm/interface/dm.c

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