1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML3.2 EN">
<HTML>
<HEAD> <link rel="canonical" href="http://www.mcs.anl.gov/petsc/petsc-current/docs/manualpages/DM/DMFOREST.html" />
<META NAME="GENERATOR" CONTENT="DOCTEXT">
<TITLE>DMFOREST</TITLE>
</HEAD>
<BODY BGCOLOR="FFFFFF">
<div id="version" align=right><b>petsc-3.7.5 2017-01-01</b></div>
<div id="bugreport" align=right><a href="mailto:petsc-maint@mcs.anl.gov?subject=Typo or Error in Documentation &body=Please describe the typo or error in the documentation: petsc-3.7.5 v3.7.5 docs/manualpages/DM/DMFOREST.html "><small>Report Typos and Errors</small></a></div>
<A NAME="DMFOREST"><H1>DMFOREST</H1></A>
"forest" - A <A HREF="../DM/DM.html#DM">DM</A> object that encapsulates a hierarchically refined mesh. Forests usually have a base <A HREF="../DM/DM.html#DM">DM</A> (see <A HREF="../DM/DMForestGetBaseDM.html#DMForestGetBaseDM">DMForestGetBaseDM</A>()), from which it is refined. The refinement and partitioning of forests is considered immutable after <A HREF="../DM/DMSetUp.html#DMSetUp">DMSetUp</A>() is called. To adapt a mesh, one should call <A HREF="../DM/DMForestTemplate.html#DMForestTemplate">DMForestTemplate</A>() to create a new mesh that will default to being identical to it, specify how that mesh should differ, and then calling <A HREF="../DM/DMSetUp.html#DMSetUp">DMSetUp</A>() on the new mesh. To specify that a mesh should be refined or coarsened from the previous mesh, a label should be defined on the previous mesh whose values indicate which cells should be refined (DM_FOREST_REFINE) or coarsened (DM_FOREST_COARSEN) and how (subtypes are free to allow additional values for things like anisotropic refinement). The name of the label should be given to the *new* mesh with <A HREF="../DM/DMForestSetAdaptivityLabel.html#DMForestSetAdaptivityLabel">DMForestSetAdaptivityLabel</A>().
<P>
<P>
<H3><FONT COLOR="#CC3333">See Also</FONT></H3>
<A HREF="../DM/DMType.html#DMType">DMType</A>, <A HREF="../DM/DMCreate.html#DMCreate">DMCreate</A>(), <A HREF="../DM/DMSetType.html#DMSetType">DMSetType</A>(), <A HREF="../DM/DMForestGetBaseDM.html#DMForestGetBaseDM">DMForestGetBaseDM</A>(), <A HREF="../DM/DMForestSetBaseDM.html#DMForestSetBaseDM">DMForestSetBaseDM</A>(), <A HREF="../DM/DMForestTemplate.html#DMForestTemplate">DMForestTemplate</A>(), <A HREF="../DM/DMForestSetAdaptivityLabel.html#DMForestSetAdaptivityLabel">DMForestSetAdaptivityLabel</A>()
<BR><P><B><P><B><FONT COLOR="#CC3333">Level:</FONT></B>advanced
<BR><FONT COLOR="#CC3333">Location:</FONT></B><A HREF="../../../src/dm/impls/forest/forest.c.html#DMFOREST">src/dm/impls/forest/forest.c</A>
<BR><A HREF="./index.html">Index of all DM routines</A>
<BR><A HREF="../../index.html">Table of Contents for all manual pages</A>
<BR><A HREF="../singleindex.html">Index of all manual pages</A>
<P><H3><FONT COLOR="#CC3333">Examples</FONT></H3>
<A HREF="../../../src/dm/impls/forest/examples/tutorials/ex1.c.html">src/dm/impls/forest/examples/tutorials/ex1.c.html</A><BR>
</BODY></HTML>
|