xref: /petsc/include/petscdmlabeltypes.h (revision 6d8694c4fbab79f9439f1ad13c0386ba7ee1ca4b)
1*ce78bad3SBarry Smith #pragma once
2*ce78bad3SBarry Smith 
3*ce78bad3SBarry Smith /* SUBMANSEC = DM */
4*ce78bad3SBarry Smith 
5*ce78bad3SBarry Smith typedef const char *DMLabelType;
6*ce78bad3SBarry Smith #define DMLABELCONCRETE  "concrete"
7*ce78bad3SBarry Smith #define DMLABELEPHEMERAL "ephemeral"
8*ce78bad3SBarry Smith 
9*ce78bad3SBarry Smith /*S
10*ce78bad3SBarry Smith   DMLabel - Object which encapsulates a subset of the mesh from a `DM`
11*ce78bad3SBarry Smith 
12*ce78bad3SBarry Smith   Level: developer
13*ce78bad3SBarry Smith 
14*ce78bad3SBarry Smith   Note:
15*ce78bad3SBarry Smith   A label consists of a set of points on a `DM`
16*ce78bad3SBarry Smith 
17*ce78bad3SBarry Smith .seealso: [](ch_dmbase), `DM`, `DMPlexCreate()`, `DMLabelCreate()`, `DMLabelView()`, `DMLabelDestroy()`, `DMPlexCreateLabelField()`,
18*ce78bad3SBarry Smith           `DMLabelGetDefaultValue()`, `DMLabelSetDefaultValue()`, `DMLabelDuplicate()`, `DMLabelGetValue()`, `DMLabelSetValue()`,
19*ce78bad3SBarry Smith           `DMLabelAddStratum()`, `DMLabelAddStrata()`, `DMLabelInsertIS()`, `DMLabelGetNumValues()`, `DMLabelGetValueIS()`,
20*ce78bad3SBarry Smith           `DMLabelGetStratumSize()`, `DMLabelComputeIndex()`, `DMLabelDestroyIndex()`, `DMLabelDistribute()`, `DMLabelConvertToSection()`
21*ce78bad3SBarry Smith S*/
22*ce78bad3SBarry Smith typedef struct _p_DMLabel *DMLabel;
23