DMLABEL Manual Pages

petsc-3.14.5 2021-03-03
Report Typos and Errors

## DMLABEL

The DMLABEL object is used to mark pieces of a mesh or DM, for example to indicate that a boundary condition should hold on that section. Markers are integers, so it can be seen as a multimap between integers and mesh pieces. Insertion is amortized O(1) since hash tables are used, but each bin is then sorted so that extraction into sorted levels is also O(1). The total cost should be O(N log N) for N entries.

Beginner - Basic usage
| DMLabelAddStrata | DMLabelCreate | DMLabelReset
DMLabelAddStrataIS | DMLabelDestroy | DMLabelSetDefaultValue
DMLabelAddStratum | DMLabelGetDefaultValue |
Intermediate - Setting options for algorithms and data structures
| DMLabelClearStratum | DMLabelGetBounds | DMLabelInsertIS
DMLabelClearValue | DMLabelGetNumValues | DMLabelPermute
DMLabelComputeIndex | DMLabelGetStratumBounds | DMLabelSetStratumBounds
DMLabelCreateIndex | DMLabelGetStratumIS | DMLabelSetStratumIS
DMLabelDestroyIndex | DMLabelGetStratumSize | DMLabelSetValue
DMLabelDistribute | DMLabelGetValue | DMLabelStratumHasPoint
DMLabelDuplicate | DMLabelGetValueIS | DMLabelView
DMLabelFilter | DMLabelHasStratum |
No advanced routines
Developer - Interfaces intended primarily for library developers, not for typical applications programmers
| DMLabelConvertToSection | DMLabelHasValue | PetscSectionSymLabelSetLabel
DMLabelGather | PetscSectionCreateGlobalSectionLabel | PetscSectionSymLabelSetStratum
DMLabelHasPoint | PetscSectionSymCreateLabel |
No deprecated routines

Table of Contents