#include "petscdmplex.h" #include "petscdmlabel.h" PetscErrorCode DMPlexStratifyMigrationSF(DM dm, PetscSF sf, PetscSF *migrationSF)
| dm | - The DM | |
| sf | - A star forest with non-ordered leaves, usually defining a DM point migration |
| migrationSF | - A star forest with added leaf indirection that ensures the resulting DM is stratified |