DMLabelType — PETSc 3.25.4 documentation

Skip to main content
`Ctrl`+`K`

# DMLabelType

String name identifying a `DMLabel` implementation

## Synopsis

    typedef const char *DMLabelType;
    #define DMLABELCONCRETE  "concrete"
    #define DMLABELEPHEMERAL "ephemeral"

## Values

- `DMLABELCONCRETE` - the default in-memory `DMLabel` that stores point-to-value mappings explicitly

- `DMLABELEPHEMERAL` - a `DMLabel` whose values are computed on demand from another `DMLabel` and a transformation, without storing them

## See Also

`DMLabel`, `DMLabelSetType()`, `DMLabelGetType()`, `DMLabelCreate()`

## Level

beginner

## Location

include/petscdmlabeltypes.h

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