DMPlexOrientLabel — PETSc 3.25.4 documentation

Skip to main content
`Ctrl`+`K`

# DMPlexOrientLabel

Give a consistent orientation to the hypersurface marked by the `DMLabel` in the input mesh

## Synopsis

    #include "petscdmplex.h"
    PetscErrorCode DMPlexOrientLabel(DM dm, DMLabel label)

Collective on dm

## Input Parameters

- dm - The `DM`

- label - The `DMLabel`

## Notes

The orientation data for the `DM` are changed in-place.

This routine will fail for non-orientable surfaces, such as the Moebius strip.

## See Also

DMPlex: Unstructured Grids, `DM`, `DMPLEX`, `DMCreate()`, `DMPlexOrient()`

## Level

advanced

## Location

src/dm/impls/plex/plexorient.c

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