petsc-3.7.1 2016-05-15
Report Typos and Errors

# DMForestSetComputeAdaptivitySF

During the pre-setup phase, set whether transfer PetscSFs should be computed relating the cells of the pre-adaptation forest to the post-adaptiation forest. After DMSetUp() is called, these transfer PetscSFs can be accessed with DMForestGetAdaptivitySF().

### Synopsis

    #include "petscdmforest.h"
    #include "petscdm.h"
    PetscErrorCode DMForestSetComputeAdaptivitySF(DM dm, PetscBool computeSF)

Logically collective on dm Many br

### Input Parameters

| dm | - the post-adaptation forest Many br
| computeSF | - default PETSC_TRUE Many br

Many br

### See Also

DMForestGetComputeAdaptivitySF(), DMForestGetAdaptivitySF()

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