PETSc version 3.16.5
Fix/Edit manual page

# DMPolytopeMatchOrientation

Determine an orientation that takes the source face arrangement to the target face arrangement

### Synopsis

    #include "petscdm.h"
    #include "petscdmlabel.h"
    #include "petscds.h"
    PetscErrorCode DMPolytopeMatchOrientation(DMPolytopeType ct, const PetscInt sourceCone[], const PetscInt targetCone[], PetscInt *ornt, PetscBool *found)

Not collective

### Input Parameters

| ct | - The DMPolytopeType
| sourceCone | - The source arrangement of faces
| targetCone | - The target arrangement of faces

### Output Parameters

| ornt | - The orientation which will take the source arrangement to the target arrangement
| found | - Flag indicating that a suitable orientation was found

### See Also

DMPolytopeGetOrientation(), DMPolytopeMatchVertexOrientation()

### Level

advanced

### Location

src/dm/interface/dm.c

### Examples

src/dm/impls/plex/tutorials/ex11.c.html
Index of all DM routines
Table of Contents for all manual pages
Index of all manual pages