petsc-3.14.6 2021-03-30
Report Typos and Errors

DMPlexCompareOrientations

Compare the cone of the given DAG point (cell) with the given reference cone (with the same cone points modulo order), and return relative orientation.

Synopsis

#include "petscdmplex.h"   
PetscErrorCode DMPlexCompareOrientations(DM dm, PetscInt p, PetscInt masterConeSize, const PetscInt masterCone[], PetscInt *start, PetscBool *reverse)
Not Collective

Input Parameters

dm - The DM (DMPLEX)
p - The DAG point whose cone is compared
masterConeSize - Number of the reference cone points passed (at least 2 and at most size of the cone of p)
masterCone - The reference cone points

Output Parameters

start - The new starting point within the cone of p to make it conforming with the reference cone
reverse - The flag whether the order of the cone points should be reversed

See Also

DMPlexOrient(), DMPlexOrientCell()

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