petsc-3.8.4 2018-03-24
Report Typos and Errors

DMPlexGetAdjacencyUseClosure

Query whether adjacency in the mesh uses the transitive closure

Synopsis

#include "petscdmplex.h"   
#include "petscdmlabel.h"  
PetscErrorCode DMPlexGetAdjacencyUseClosure(DM dm, PetscBool *useClosure)

Input Parameter

dm -The DM object

Output Parameter

useClosure -Flag to use the closure

Notes

    FEM:   Two points p and q are adjacent if q \in closure(star(p)),   useCone = PETSC_FALSE, useClosure = PETSC_TRUE
    FVM:   Two points p and q are adjacent if q \in support(p+cone(p)), useCone = PETSC_TRUE,  useClosure = PETSC_FALSE
    FVM++: Two points p and q are adjacent if q \in star(closure(p)),   useCone = PETSC_TRUE,  useClosure = PETSC_TRUE

See Also

DMPlexSetAdjacencyUseClosure(), DMPlexSetAdjacencyUseCone(), DMPlexGetAdjacencyUseCone(), DMPlexDistribute(), DMPlexPreallocateOperator()

Level:intermediate
Location:
src/dm/impls/plex/plexdistribute.c
Index of all DMPLEX routines
Table of Contents for all manual pages
Index of all manual pages