File: petscdmforest.h.html

package info (click to toggle)
petsc 3.23.1%2Bdfsg1-1exp1
  • links: PTS, VCS
  • area: main
  • in suites: experimental
  • size: 515,576 kB
  • sloc: ansic: 751,607; cpp: 51,542; python: 38,598; f90: 17,352; javascript: 3,493; makefile: 3,157; sh: 1,502; xml: 619; objc: 445; java: 13; csh: 1
file content (137 lines) | stat: -rw-r--r-- 23,574 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
137
<center><a href="https://gitlab.com/petsc/petsc/-/blob/966382dc56242773704ef5f5cee7aa2db3ebc577/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-04-30T18:14:50+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">/* MANSEC = <a href="../manualpages/DM/DM.html">DM</a> */</font>
<a name="line9">  9: </a><font color="#B22222">/* SUBMANSEC = DMForest */</font>

<a name="line11"> 11: </a><font color="#B22222">/*J</font>
<a name="line12"> 12: </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="line13"> 13: </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="line14"> 14: </a><font color="#B22222">  `<a href="../manualpages/DM/DMSetUp.html">DMSetUp</a>()`.</font>

<a name="line16"> 16: </a><font color="#B22222">   Level: beginner</font>

<a name="line18"> 18: </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="line19"> 19: </a><font color="#B22222">J*/</font>
<a name="line20"> 20: </a><font color="#4169E1">typedef const char *<a href="../manualpages/DMForest/DMForestTopology.html">DMForestTopology</a>;</font>

<a name="line22"> 22: </a><font color="#B22222">/* Just a name for the shape of the domain */</font>
<a name="line23"> 23: </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="line24"> 24: </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="line26"> 26: </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="line27"> 27: </a><font color="#B22222"> * convert to a DMForest (right now: plex) */</font>
<a name="line28"> 28: </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="line29"> 29: </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="line30"> 30: </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="line31"> 31: </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="line33"> 33: </a><font color="#B22222">/* this is the forest from which we adapt */</font>
<a name="line34"> 34: </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="line35"> 35: </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="line37"> 37: </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="line38"> 38: </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="line40"> 40: </a><font color="#B22222">/* what we consider adjacent, for the purposes of cell grading, overlap, etc. */</font>
<a name="line41"> 41: </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="line42"> 42: </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="line43"> 43: </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="line44"> 44: </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="line46"> 46: </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="line47"> 47: </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="line49"> 49: </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="line50"> 50: </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="line52"> 52: </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="line53"> 53: </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="line55"> 55: </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="line56"> 56: </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="line58"> 58: </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="line59"> 59: </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="line61"> 61: </a><font color="#B22222">/* flag each cell with an adaptivity count: should match the cell section */</font>
<a name="line62"> 62: </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/DM/DMLabel.html">DMLabel</a>)</font></strong>;
<a name="line63"> 63: </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/DM/DMLabel.html">DMLabel</a> *)</font></strong>;

<a name="line65"> 65: </a><font color="#B22222">/*J</font>
<a name="line66"> 66: </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="line68"> 68: </a><font color="#B22222">   Level: intermediate</font>

<a name="line70"> 70: </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="line71"> 71: </a><font color="#B22222">J*/</font>
<a name="line72"> 72: </a><font color="#4169E1">typedef const char *<a href="../manualpages/DMForest/DMForestAdaptivityStrategy.html">DMForestAdaptivityStrategy</a>;</font>
<a name="line73"> 73: </a><strong><font color="#228B22">#define DMFORESTADAPTALL </font><font color="#666666">"all"</font><font color="#228B22"></font></strong>
<a name="line74"> 74: </a><strong><font color="#228B22">#define DMFORESTADAPTANY </font><font color="#666666">"any"</font><font color="#228B22"></font></strong>

<a name="line76"> 76: </a><font color="#B22222">/* how to combine: -flags         from multiple processes,</font>
<a name="line77"> 77: </a><font color="#B22222"> *                 -coarsen flags from multiple children</font>
<a name="line78"> 78: </a><font color="#B22222"> */</font>
<a name="line79"> 79: </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="line80"> 80: </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="line82"> 82: </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="line83"> 83: </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="line85"> 85: </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="line87"> 87: </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="line89"> 89: </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="line90"> 90: </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="line92"> 92: </a><font color="#B22222">/* for a quadtree/octree mesh, this is the x:1 condition: 1 indicates a uniform mesh,</font>
<a name="line93"> 93: </a><font color="#B22222"> *                                                        2 indicates typical 2:1,</font>
<a name="line94"> 94: </a><font color="#B22222"> */</font>
<a name="line95"> 95: </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="line96"> 96: </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="line98"> 98: </a><font color="#B22222">/* weights for repartitioning */</font>
<a name="line99"> 99: </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="line100">100: </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="line102">102: </a><font color="#B22222">/* weight multiplier for refinement level: useful for sub-cycling time steps */</font>
<a name="line103">103: </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="line104">104: </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="line106">106: </a><font color="#B22222">/* this process's capacity when redistributing the cells */</font>
<a name="line107">107: </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="line108">108: </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="line110">110: </a><font color="#B22222">/* miscellaneous */</font>
<a name="line111">111: </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="line113">113: </a><font color="#B22222">/* type management */</font>
<a name="line114">114: </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="line115">115: </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="line117">117: </a><font color="#B22222">/* p4est */</font>
<a name="line118">118: </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="line119">119: </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="line120">120: </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="line121">121: </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>