Set the topology of a DMForest during the pre-setup phase. The topology is a string (e.g. "cube", "shell") and can be interpreted by subtypes of DMFOREST) to construct the base DM of a forest during DMSetUp().
PetscErrorCode DMForestSetTopology(DM dm, DMForestTopology topology)
Logically collective on dm
|dm ||- the forest
|topology ||- the topology of the forest
Index of all DMFOREST routines
Table of Contents for all manual pages
Index of all manual pages