#include "petscdmforest.h" #include "petscdm.h" #include "petscdmlabel.h" PetscErrorCode DMForestSetAdaptivityForest(DM dm,DM adapt)Note that this can be called after setup with adapt = NULL, which will clear all internal data related to the adaptivity forest from dm. This way, repeatedly adapting does not leave stale DM objects in memory.
Logically collective on dm
dm | - the new forest, which will be constructed from adapt | |
adapt | - the old forest |
Level:intermediate
Location:src/dm/impls/forest/forest.c
Index of all DMFOREST routines
Table of Contents for all manual pages
Index of all manual pages