File: DMFOREST.html

package info (click to toggle)
petsc 3.10.3%2Bdfsg1-5
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 209,064 kB
  • sloc: ansic: 587,333; python: 29,696; makefile: 12,445; fortran: 11,626; f90: 9,677; cpp: 8,768; sh: 1,027; xml: 621; objc: 445; csh: 194; java: 13
file content (28 lines) | stat: -rw-r--r-- 3,186 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML3.2 EN">
<HTML>
<HEAD> <link rel="canonical" href="http://www.mcs.anl.gov/petsc/petsc-current/docs/manualpages/DMFOREST/DMFOREST.html" />
<META NAME="GENERATOR" CONTENT="DOCTEXT">
<TITLE>DMFOREST</TITLE>
</HEAD>
<BODY BGCOLOR="FFFFFF">
   <div id="version" align=right><b>petsc-3.10.3 2018-12-18</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.10.3 v3.10.3 docs/manualpages/DMFOREST/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="../DMFOREST/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="../DMFOREST/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 (<A HREF="../DM/DMAdaptFlag.html#DMAdaptFlag">DM_ADAPT_REFINE</A>) or coarsened (<A HREF="../DM/DMAdaptFlag.html#DMAdaptFlag">DM_ADAPT_COARSEN</A>)
and how (subtypes are free to allow additional values for things like anisotropic refinement).  The label should be
given to the *new* mesh with <A HREF="../DMFOREST/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="../DMFOREST/DMForestGetBaseDM.html#DMForestGetBaseDM">DMForestGetBaseDM</A>(), <A HREF="../DMFOREST/DMForestSetBaseDM.html#DMForestSetBaseDM">DMForestSetBaseDM</A>(), <A HREF="../DMFOREST/DMForestTemplate.html#DMForestTemplate">DMForestTemplate</A>(), <A HREF="../DMFOREST/DMForestSetAdaptivityLabel.html#DMForestSetAdaptivityLabel">DMForestSetAdaptivityLabel</A>()
<BR><P><B></B><H3><FONT COLOR="#CC3333">Level</FONT></H3>advanced<BR>
<H3><FONT COLOR="#CC3333">Location</FONT></H3>
</B><A HREF="../../../src/dm/impls/forest/forest.c.html#DMFOREST">src/dm/impls/forest/forest.c</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>
<BR><A HREF="./index.html">Index of all DMFOREST 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>
</BODY></HTML>