PETSc version 3.17.4
Fix/Edit manual page

# DMPlexMigrate

Migrates internal DM data over the supplied star forest

### Synopsis

    #include "petscdmplex.h"
    #include "petscdmlabel.h"
    PetscErrorCode DMPlexMigrate(DM dm, PetscSF sf, DM targetDM)

Collective on dm

### Input Parameters

| dm | - The source DMPlex object
| sf | - The star forest communication context describing the migration pattern

### Output Parameter

| targetDM | - The target DMPlex object

### See Also

DMPlexDistribute(), DMPlexDistributeOverlap()

### Level

intermediate

### Location

src/dm/impls/plex/plexdistribute.c
Index of all DMPLEX routines
Table of Contents for all manual pages
Index of all manual pages