PETSc version 3.17.0
Fix/Edit manual page

# DMCopyLabelsMode

Determines how DMCopyLabels() behaves when there is a DMLabel in the source and destination DMs with the same name

### Synopsis

    typedef enum {DM_COPY_LABELS_REPLACE, DM_COPY_LABELS_KEEP, DM_COPY_LABELS_FAIL} DMCopyLabelsMode;

    DM_COPY_LABELS_REPLACE  - replace label in destination by label from source

    DM_COPY_LABELS_KEEP     - keep destination label

    DM_COPY_LABELS_FAIL     - throw error

### Level

advanced

### Location

src/dm/../../include/petscdm.h

### Examples

src/dm/label/tutorials/ex1.c.html
Index of all DM routines
Table of Contents for all manual pages
Index of all manual pages