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

DMPlexCheckInterfaceCones

Check that points on inter-partition interfaces have conforming order of cone points.

Synopsis

#include "petscdmplex.h"   
PetscErrorCode DMPlexCheckInterfaceCones(DM dm)

Input Parameters

dm - The DMPlex object

Notes

For example, if there is an edge (rank,index)=(0,2) connecting points cone(0,2)=[(0,0),(0,1)] in this order, and the point SF containts connections 0 <- (1,0), 1 <- (1,1) and 2 <- (1,2), then this check would pass if the edge (1,2) has cone(1,2)=[(1,0),(1,1)]. By contrast, if cone(1,2)=[(1,1),(1,0)], then this check would fail.

This is mainly intended for debugging/testing purposes. Does not check cone orientation, for this purpose use DMPlexCheckFaces().

For the complete list of DMPlexCheck* functions, see DMSetFromOptions().

Developer Note

Interface cones are expanded into vertices and then their coordinates are compared.

See Also

DMPlexGetCone(), DMPlexGetConeSize(), DMGetPointSF(), DMGetCoordinates(), DMSetFromOptions()

Level

developer

Location

src/dm/impls/plex/plexcheckinterface.c
Index of all DMPLEX routines
Table of Contents for all manual pages
Index of all manual pages