petsc-3.7.1 2016-05-15
DMForestSetAdaptivityStrategy
Get the strategy for combining adaptivity labels from multiple processes. Subtypes of DMForest may define their own strategies. Two default strategies are DMFORESTADAPTALL, which indicates that all processes must agree for a refinement/coarsening flag to be valid, and DMFORESTADAPTANY, which indicates that only one process needs to specify refinement/coarsening.
Synopsis
#include "petscdmforest.h"
#include "petscdm.h"
PetscErrorCode DMForestGetAdaptivityStrategy(DM dm, DMForestAdaptivityStrategy *adaptStrategy)
Not collective Many br
Input Parameter
dm -the forest Many br
Output Parameter
adaptStrategy -the adaptivity strategy (default DMFORESTADAPTALL) Many br
Many br
See Also
DMForestSetAdaptivityStrategy()
Level:advanced
Location:src/dm/impls/forest/forest.c
Index of all DM routines
Table of Contents for all manual pages
Index of all manual pages