File: petscdmforest.h.html

package info (click to toggle)
petsc 3.22.5%2Bdfsg1-2
  • links: PTS, VCS
  • area: main
  • in suites: trixie
  • size: 516,740 kB
  • sloc: ansic: 814,333; cpp: 50,948; python: 37,416; f90: 17,187; javascript: 3,493; makefile: 3,198; sh: 1,502; xml: 619; objc: 445; java: 13; csh: 1
file content (136 lines) | stat: -rw-r--r-- 23,471 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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
<center><a href="https://gitlab.com/petsc/petsc/-/blob/9fe822445bcdd45fb93170ff68fa7403d3f52f09/include/petscdmforest.h">Actual source code: petscdmforest.h</a></center><br>

<html>
<head>
<title></title>
<meta name="generator" content="c2html 0.9.6">
<meta name="date" content="2025-03-28T21:10:40+00:00">
</head>

<body bgcolor="#FFFFFF">
<pre width=80>
<a name="line1">  1: </a><font color="#B22222">/*</font>
<a name="line2">  2: </a><font color="#B22222">  <a href="../manualpages/DMForest/DMFOREST.html">DMFOREST</a>, for parallel, hierarchically refined, distributed mesh problems.</font>
<a name="line3">  3: </a><font color="#B22222">*/</font>
<a name="line4">  4: </a><font color="#A020F0">#pragma once</font>

<a name="line6">  6: </a>#include <A href="../include/petscdm.h.html">&lt;petscdm.h&gt;</A>

<a name="line8">  8: </a><font color="#B22222">/* SUBMANSEC = DMForest */</font>

<a name="line10"> 10: </a><font color="#B22222">/*J</font>
<a name="line11"> 11: </a><font color="#B22222">   <a href="../manualpages/DMForest/DMForestTopology.html">DMForestTopology</a> - String with the name of a PETSc `<a href="../manualpages/DMForest/DMFOREST.html">DMFOREST</a>` base mesh topology. The topology is a string (e.g.</font>
<a name="line12"> 12: </a><font color="#B22222">  "cube", "shell") and can be interpreted by subtypes of `<a href="../manualpages/DMForest/DMFOREST.html">DMFOREST</a>`) to construct the base `<a href="../manualpages/DM/DM.html">DM</a>` of a forest during</font>
<a name="line13"> 13: </a><font color="#B22222">  `<a href="../manualpages/DM/DMSetUp.html">DMSetUp</a>()`.</font>

<a name="line15"> 15: </a><font color="#B22222">   Level: beginner</font>

<a name="line17"> 17: </a><font color="#B22222">.seealso: [](ch_dmbase), `<a href="../manualpages/DMForest/DMForestSetTopology.html">DMForestSetTopology</a>()`, `<a href="../manualpages/DMForest/DMForestGetTopology.html">DMForestGetTopology</a>()`, `<a href="../manualpages/DMForest/DMFOREST.html">DMFOREST</a>`</font>
<a name="line18"> 18: </a><font color="#B22222">J*/</font>
<a name="line19"> 19: </a><font color="#4169E1">typedef const char *<a href="../manualpages/DMForest/DMForestTopology.html">DMForestTopology</a>;</font>

<a name="line21"> 21: </a><font color="#B22222">/* Just a name for the shape of the domain */</font>
<a name="line22"> 22: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/DMForest/DMForestSetTopology.html">DMForestSetTopology</a>(<a href="../manualpages/DM/DM.html">DM</a>, <a href="../manualpages/DMForest/DMForestTopology.html">DMForestTopology</a>)</font></strong>;
<a name="line23"> 23: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/DMForest/DMForestGetTopology.html">DMForestGetTopology</a>(<a href="../manualpages/DM/DM.html">DM</a>, <a href="../manualpages/DMForest/DMForestTopology.html">DMForestTopology</a> *)</font></strong>;

<a name="line25"> 25: </a><font color="#B22222">/* this is the coarsest possible forest: can be any <a href="../manualpages/DM/DM.html">DM</a> which we can</font>
<a name="line26"> 26: </a><font color="#B22222"> * convert to a DMForest (right now: plex) */</font>
<a name="line27"> 27: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/DMForest/DMForestSetBaseDM.html">DMForestSetBaseDM</a>(<a href="../manualpages/DM/DM.html">DM</a>, <a href="../manualpages/DM/DM.html">DM</a>)</font></strong>;
<a name="line28"> 28: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/DMForest/DMForestGetBaseDM.html">DMForestGetBaseDM</a>(<a href="../manualpages/DM/DM.html">DM</a>, <a href="../manualpages/DM/DM.html">DM</a> *)</font></strong>;
<a name="line29"> 29: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> DMForestSetBaseCoordinateMapping(<a href="../manualpages/DM/DM.html">DM</a>, <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> (*)(<a href="../manualpages/DM/DM.html">DM</a>, <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>, <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>, const <a href="../manualpages/Sys/PetscReal.html">PetscReal</a>[], <a href="../manualpages/Sys/PetscReal.html">PetscReal</a>[], void *), void *)</font></strong>;
<a name="line30"> 30: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> DMForestGetBaseCoordinateMapping(<a href="../manualpages/DM/DM.html">DM</a>, <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> (**)(<a href="../manualpages/DM/DM.html">DM</a>, <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>, <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>, const <a href="../manualpages/Sys/PetscReal.html">PetscReal</a>[], <a href="../manualpages/Sys/PetscReal.html">PetscReal</a>[], void *), void *)</font></strong>;

<a name="line32"> 32: </a><font color="#B22222">/* this is the forest from which we adapt */</font>
<a name="line33"> 33: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/DMForest/DMForestSetAdaptivityForest.html">DMForestSetAdaptivityForest</a>(<a href="../manualpages/DM/DM.html">DM</a>, <a href="../manualpages/DM/DM.html">DM</a>)</font></strong>;
<a name="line34"> 34: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/DMForest/DMForestGetAdaptivityForest.html">DMForestGetAdaptivityForest</a>(<a href="../manualpages/DM/DM.html">DM</a>, <a href="../manualpages/DM/DM.html">DM</a> *)</font></strong>;

<a name="line36"> 36: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/DMForest/DMForestSetAdaptivityPurpose.html">DMForestSetAdaptivityPurpose</a>(<a href="../manualpages/DM/DM.html">DM</a>, <a href="../manualpages/DM/DMAdaptFlag.html">DMAdaptFlag</a>)</font></strong>;
<a name="line37"> 37: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/DMForest/DMForestGetAdaptivityPurpose.html">DMForestGetAdaptivityPurpose</a>(<a href="../manualpages/DM/DM.html">DM</a>, <a href="../manualpages/DM/DMAdaptFlag.html">DMAdaptFlag</a> *)</font></strong>;

<a name="line39"> 39: </a><font color="#B22222">/* what we consider adjacent, for the purposes of cell grading, overlap, etc. */</font>
<a name="line40"> 40: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/DMForest/DMForestSetAdjacencyDimension.html">DMForestSetAdjacencyDimension</a>(<a href="../manualpages/DM/DM.html">DM</a>, <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>)</font></strong>;
<a name="line41"> 41: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/DMForest/DMForestGetAdjacencyDimension.html">DMForestGetAdjacencyDimension</a>(<a href="../manualpages/DM/DM.html">DM</a>, <a href="../manualpages/Sys/PetscInt.html">PetscInt</a> *)</font></strong>;
<a name="line42"> 42: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/DMForest/DMForestSetAdjacencyCodimension.html">DMForestSetAdjacencyCodimension</a>(<a href="../manualpages/DM/DM.html">DM</a>, <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>)</font></strong>;
<a name="line43"> 43: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/DMForest/DMForestGetAdjacencyCodimension.html">DMForestGetAdjacencyCodimension</a>(<a href="../manualpages/DM/DM.html">DM</a>, <a href="../manualpages/Sys/PetscInt.html">PetscInt</a> *)</font></strong>;

<a name="line45"> 45: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/DMForest/DMForestSetPartitionOverlap.html">DMForestSetPartitionOverlap</a>(<a href="../manualpages/DM/DM.html">DM</a>, <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>)</font></strong>;
<a name="line46"> 46: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/DMForest/DMForestGetPartitionOverlap.html">DMForestGetPartitionOverlap</a>(<a href="../manualpages/DM/DM.html">DM</a>, <a href="../manualpages/Sys/PetscInt.html">PetscInt</a> *)</font></strong>;

<a name="line48"> 48: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/DMForest/DMForestSetMinimumRefinement.html">DMForestSetMinimumRefinement</a>(<a href="../manualpages/DM/DM.html">DM</a>, <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>)</font></strong>;
<a name="line49"> 49: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/DMForest/DMForestGetMinimumRefinement.html">DMForestGetMinimumRefinement</a>(<a href="../manualpages/DM/DM.html">DM</a>, <a href="../manualpages/Sys/PetscInt.html">PetscInt</a> *)</font></strong>;

<a name="line51"> 51: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/DMForest/DMForestSetMaximumRefinement.html">DMForestSetMaximumRefinement</a>(<a href="../manualpages/DM/DM.html">DM</a>, <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>)</font></strong>;
<a name="line52"> 52: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/DMForest/DMForestGetMaximumRefinement.html">DMForestGetMaximumRefinement</a>(<a href="../manualpages/DM/DM.html">DM</a>, <a href="../manualpages/Sys/PetscInt.html">PetscInt</a> *)</font></strong>;

<a name="line54"> 54: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/DMForest/DMForestSetInitialRefinement.html">DMForestSetInitialRefinement</a>(<a href="../manualpages/DM/DM.html">DM</a>, <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>)</font></strong>;
<a name="line55"> 55: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/DMForest/DMForestGetInitialRefinement.html">DMForestGetInitialRefinement</a>(<a href="../manualpages/DM/DM.html">DM</a>, <a href="../manualpages/Sys/PetscInt.html">PetscInt</a> *)</font></strong>;

<a name="line57"> 57: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/DMForest/DMForestGetCellChart.html">DMForestGetCellChart</a>(<a href="../manualpages/DM/DM.html">DM</a>, <a href="../manualpages/Sys/PetscInt.html">PetscInt</a> *, <a href="../manualpages/Sys/PetscInt.html">PetscInt</a> *)</font></strong>;
<a name="line58"> 58: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/DMForest/DMForestGetCellSF.html">DMForestGetCellSF</a>(<a href="../manualpages/DM/DM.html">DM</a>, <a href="../manualpages/PetscSF/PetscSF.html">PetscSF</a> *)</font></strong>;

<a name="line60"> 60: </a><font color="#B22222">/* flag each cell with an adaptivity count: should match the cell section */</font>
<a name="line61"> 61: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/DMForest/DMForestSetAdaptivityLabel.html">DMForestSetAdaptivityLabel</a>(<a href="../manualpages/DM/DM.html">DM</a>, <a href="../manualpages/DMLabel/DMLabel.html">DMLabel</a>)</font></strong>;
<a name="line62"> 62: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/DMForest/DMForestGetAdaptivityLabel.html">DMForestGetAdaptivityLabel</a>(<a href="../manualpages/DM/DM.html">DM</a>, <a href="../manualpages/DMLabel/DMLabel.html">DMLabel</a> *)</font></strong>;

<a name="line64"> 64: </a><font color="#B22222">/*J</font>
<a name="line65"> 65: </a><font color="#B22222">   <a href="../manualpages/DMForest/DMForestAdaptivityStrategy.html">DMForestAdaptivityStrategy</a> - String with the name of a PETSc `<a href="../manualpages/DMForest/DMFOREST.html">DMFOREST</a>` adaptivity strategy</font>

<a name="line67"> 67: </a><font color="#B22222">   Level: intermediate</font>

<a name="line69"> 69: </a><font color="#B22222">.seealso: [](ch_dmbase), `<a href="../manualpages/DMForest/DMFOREST.html">DMFOREST</a>`, `<a href="../manualpages/DMForest/DMForestSetAdaptivityStrategy.html">DMForestSetAdaptivityStrategy</a>()`, `<a href="../manualpages/DMForest/DMForestGetAdaptivityStrategy.html">DMForestGetAdaptivityStrategy</a>()`, `<a href="../manualpages/DMForest/DMForestSetGradeFactor.html">DMForestSetGradeFactor</a>()`</font>
<a name="line70"> 70: </a><font color="#B22222">J*/</font>
<a name="line71"> 71: </a><font color="#4169E1">typedef const char *<a href="../manualpages/DMForest/DMForestAdaptivityStrategy.html">DMForestAdaptivityStrategy</a>;</font>
<a name="line72"> 72: </a><strong><font color="#228B22">#define DMFORESTADAPTALL </font><font color="#666666">"all"</font><font color="#228B22"></font></strong>
<a name="line73"> 73: </a><strong><font color="#228B22">#define DMFORESTADAPTANY </font><font color="#666666">"any"</font><font color="#228B22"></font></strong>

<a name="line75"> 75: </a><font color="#B22222">/* how to combine: -flags         from multiple processes,</font>
<a name="line76"> 76: </a><font color="#B22222"> *                 -coarsen flags from multiple children</font>
<a name="line77"> 77: </a><font color="#B22222"> */</font>
<a name="line78"> 78: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/DMForest/DMForestSetAdaptivityStrategy.html">DMForestSetAdaptivityStrategy</a>(<a href="../manualpages/DM/DM.html">DM</a>, <a href="../manualpages/DMForest/DMForestAdaptivityStrategy.html">DMForestAdaptivityStrategy</a>)</font></strong>;
<a name="line79"> 79: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/DMForest/DMForestGetAdaptivityStrategy.html">DMForestGetAdaptivityStrategy</a>(<a href="../manualpages/DM/DM.html">DM</a>, <a href="../manualpages/DMForest/DMForestAdaptivityStrategy.html">DMForestAdaptivityStrategy</a> *)</font></strong>;

<a name="line81"> 81: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/DMForest/DMForestSetComputeAdaptivitySF.html">DMForestSetComputeAdaptivitySF</a>(<a href="../manualpages/DM/DM.html">DM</a>, <a href="../manualpages/Sys/PetscBool.html">PetscBool</a>)</font></strong>;
<a name="line82"> 82: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/DMForest/DMForestGetComputeAdaptivitySF.html">DMForestGetComputeAdaptivitySF</a>(<a href="../manualpages/DM/DM.html">DM</a>, <a href="../manualpages/Sys/PetscBool.html">PetscBool</a> *)</font></strong>;

<a name="line84"> 84: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/DMForest/DMForestGetAdaptivitySF.html">DMForestGetAdaptivitySF</a>(<a href="../manualpages/DM/DM.html">DM</a>, <a href="../manualpages/PetscSF/PetscSF.html">PetscSF</a> *, <a href="../manualpages/PetscSF/PetscSF.html">PetscSF</a> *)</font></strong>;

<a name="line86"> 86: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/DMForest/DMForestGetAdaptivitySuccess.html">DMForestGetAdaptivitySuccess</a>(<a href="../manualpages/DM/DM.html">DM</a>, <a href="../manualpages/Sys/PetscBool.html">PetscBool</a> *)</font></strong>;

<a name="line88"> 88: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> DMForestTransferVec(<a href="../manualpages/DM/DM.html">DM</a>, <a href="../manualpages/Vec/Vec.html">Vec</a>, <a href="../manualpages/DM/DM.html">DM</a>, <a href="../manualpages/Vec/Vec.html">Vec</a>, <a href="../manualpages/Sys/PetscBool.html">PetscBool</a>, <a href="../manualpages/Sys/PetscReal.html">PetscReal</a>)</font></strong>;
<a name="line89"> 89: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> DMForestTransferVecFromBase(<a href="../manualpages/DM/DM.html">DM</a>, <a href="../manualpages/Vec/Vec.html">Vec</a>, <a href="../manualpages/Vec/Vec.html">Vec</a>)</font></strong>;

<a name="line91"> 91: </a><font color="#B22222">/* for a quadtree/octree mesh, this is the x:1 condition: 1 indicates a uniform mesh,</font>
<a name="line92"> 92: </a><font color="#B22222"> *                                                        2 indicates typical 2:1,</font>
<a name="line93"> 93: </a><font color="#B22222"> */</font>
<a name="line94"> 94: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/DMForest/DMForestSetGradeFactor.html">DMForestSetGradeFactor</a>(<a href="../manualpages/DM/DM.html">DM</a>, <a href="../manualpages/Sys/PetscInt.html">PetscInt</a>)</font></strong>;
<a name="line95"> 95: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/DMForest/DMForestGetGradeFactor.html">DMForestGetGradeFactor</a>(<a href="../manualpages/DM/DM.html">DM</a>, <a href="../manualpages/Sys/PetscInt.html">PetscInt</a> *)</font></strong>;

<a name="line97"> 97: </a><font color="#B22222">/* weights for repartitioning */</font>
<a name="line98"> 98: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/DMForest/DMForestSetCellWeights.html">DMForestSetCellWeights</a>(<a href="../manualpages/DM/DM.html">DM</a>, <a href="../manualpages/Sys/PetscReal.html">PetscReal</a>[], <a href="../manualpages/Sys/PetscCopyMode.html">PetscCopyMode</a>)</font></strong>;
<a name="line99"> 99: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/DMForest/DMForestGetCellWeights.html">DMForestGetCellWeights</a>(<a href="../manualpages/DM/DM.html">DM</a>, <a href="../manualpages/Sys/PetscReal.html">PetscReal</a> *[])</font></strong>;

<a name="line101">101: </a><font color="#B22222">/* weight multiplier for refinement level: useful for sub-cycling time steps */</font>
<a name="line102">102: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/DMForest/DMForestSetCellWeightFactor.html">DMForestSetCellWeightFactor</a>(<a href="../manualpages/DM/DM.html">DM</a>, <a href="../manualpages/Sys/PetscReal.html">PetscReal</a>)</font></strong>;
<a name="line103">103: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/DMForest/DMForestGetCellWeightFactor.html">DMForestGetCellWeightFactor</a>(<a href="../manualpages/DM/DM.html">DM</a>, <a href="../manualpages/Sys/PetscReal.html">PetscReal</a> *)</font></strong>;

<a name="line105">105: </a><font color="#B22222">/* this process's capacity when redistributing the cells */</font>
<a name="line106">106: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/DMForest/DMForestSetWeightCapacity.html">DMForestSetWeightCapacity</a>(<a href="../manualpages/DM/DM.html">DM</a>, <a href="../manualpages/Sys/PetscReal.html">PetscReal</a>)</font></strong>;
<a name="line107">107: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/DMForest/DMForestGetWeightCapacity.html">DMForestGetWeightCapacity</a>(<a href="../manualpages/DM/DM.html">DM</a>, <a href="../manualpages/Sys/PetscReal.html">PetscReal</a> *)</font></strong>;

<a name="line109">109: </a><font color="#B22222">/* miscellaneous */</font>
<a name="line110">110: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/DMForest/DMForestTemplate.html">DMForestTemplate</a>(<a href="../manualpages/DM/DM.html">DM</a>, <a href="../manualpages/Sys/MPI_Comm.html">MPI_Comm</a>, <a href="../manualpages/DM/DM.html">DM</a> *)</font></strong>;

<a name="line112">112: </a><font color="#B22222">/* type management */</font>
<a name="line113">113: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/DMForest/DMForestRegisterType.html">DMForestRegisterType</a>(<a href="../manualpages/DM/DMType.html">DMType</a>)</font></strong>;
<a name="line114">114: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> <a href="../manualpages/DMForest/DMIsForest.html">DMIsForest</a>(<a href="../manualpages/DM/DM.html">DM</a>, <a href="../manualpages/Sys/PetscBool.html">PetscBool</a> *)</font></strong>;

<a name="line116">116: </a><font color="#B22222">/* p4est */</font>
<a name="line117">117: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> DMP4estGetPartitionForCoarsening(<a href="../manualpages/DM/DM.html">DM</a>, <a href="../manualpages/Sys/PetscBool.html">PetscBool</a> *)</font></strong>;
<a name="line118">118: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> DMP4estSetPartitionForCoarsening(<a href="../manualpages/DM/DM.html">DM</a>, <a href="../manualpages/Sys/PetscBool.html">PetscBool</a>)</font></strong>;
<a name="line119">119: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> DMP8estGetPartitionForCoarsening(<a href="../manualpages/DM/DM.html">DM</a>, <a href="../manualpages/Sys/PetscBool.html">PetscBool</a> *)</font></strong>;
<a name="line120">120: </a><strong><font color="#4169E1">PETSC_EXTERN <a href="../manualpages/Sys/PetscErrorCode.html">PetscErrorCode</a> DMP8estSetPartitionForCoarsening(<a href="../manualpages/DM/DM.html">DM</a>, <a href="../manualpages/Sys/PetscBool.html">PetscBool</a>)</font></strong>;
</pre>
</body>

</html>