petsc-3.10.4 2019-02-26
Report Typos and Errors


Create a mesh with hybrid cells along an internal interface


#include "petscdmplex.h"    
#include "petscdmlabel.h"   
PetscErrorCode DMPlexCreateHybridMesh(DM dm, DMLabel label, DMLabel bdlabel, DMLabel *hybridLabel, DMLabel *splitLabel, DM *dmInterface, DM *dmHybrid)
Collective on dm

Input Parameters

dm - The original DM
label - The label specifying the interface vertices
bdlabel - The optional label specifying the interface boundary vertices

Output Parameters

hybridLabel - The label fully marking the interface, or NULL if no output is desired
splitLabel - The label containing the split points, or NULL if no output is desired
dmInterface - The new interface DM, or NULL
dmHybrid - The new DM with cohesive cells

See Also

DMPlexConstructCohesiveCells(), DMPlexLabelCohesiveComplete(), DMCreate()




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