Actual source code: petscdmlabeltypes.h

  1: #pragma once

  3: /* SUBMANSEC = DM */

  5: typedef const char *DMLabelType;
  6: #define DMLABELCONCRETE  "concrete"
  7: #define DMLABELEPHEMERAL "ephemeral"

  9: /*S
 10:   DMLabel - Object which encapsulates a subset of the mesh from a `DM`

 12:   Level: developer

 14:   Note:
 15:   A label consists of a set of points on a `DM`

 17: .seealso: [](ch_dmbase), `DM`, `DMPlexCreate()`, `DMLabelCreate()`, `DMLabelView()`, `DMLabelDestroy()`, `DMPlexCreateLabelField()`,
 18:           `DMLabelGetDefaultValue()`, `DMLabelSetDefaultValue()`, `DMLabelDuplicate()`, `DMLabelGetValue()`, `DMLabelSetValue()`,
 19:           `DMLabelAddStratum()`, `DMLabelAddStrata()`, `DMLabelInsertIS()`, `DMLabelGetNumValues()`, `DMLabelGetValueIS()`,
 20:           `DMLabelGetStratumSize()`, `DMLabelComputeIndex()`, `DMLabelDestroyIndex()`, `DMLabelDistribute()`, `DMLabelConvertToSection()`
 21: S*/
 22: typedef struct _p_DMLabel *DMLabel;