Chi-Tech
chi__KBAGraphPartitioner.h
Go to the documentation of this file.
1/** \defgroup chi__KBAGraphPartitioner chi.KBAGraphPartitioner
2
3
4\ingroup Graphs
5Koch, Baker and Alcouffe based partitioning. This is an overlayed ortho-grid based partitioner
6
7
8## Example usage:
9Create this object:
10\code
11params =
12{
13 param_name1 = value1,
14 param_name2 = value2,
15 --etc.
16}
17chi.KBAGraphPartitioner.Create(params)
18\endcode
19## Optional Input parameters
20\htmlonly
21
22<div style="display: block;">
23<button type="button" class="droppy2" style=
24"
25background-color: #edf0f5;
26color: #9373A5;
27cursor: pointer;
28border: none;
29text-align: left;
30outline: none;
31font-size: 15px;
32margin: 2px 2px;
33border: 2px solid #687372;
34display: block;
35width: 100%;
36vertical-align: middle;
37padding-top: 4px;
38padding-bottom: 0px;
39"
40><span class="arrow" style="padding-left: 0px;">►</span><TT><B>nx</B></TT><span style="color: #c4c1c0;">&nbsp &nbsp &nbsp &nbspThe number of partitions in x</span></button>
41<div class="content" style="display: none;">
42 <p><I>type=</I><span style="color: blue;"><TT>INTEGER</TT></span>. The number of partitions in x
43</p>
44 <p>Default value: <TT style="color:grey">1</TT></p>
45</div>
46
47<button type="button" class="droppy2" style=
48"
49background-color: #edf0f5;
50color: #9373A5;
51cursor: pointer;
52border: none;
53text-align: left;
54outline: none;
55font-size: 15px;
56margin: 2px 2px;
57border: 2px solid #687372;
58display: block;
59width: 100%;
60vertical-align: middle;
61padding-top: 4px;
62padding-bottom: 0px;
63"
64><span class="arrow" style="padding-left: 0px;">►</span><TT><B>ny</B></TT><span style="color: #c4c1c0;">&nbsp &nbsp &nbsp &nbspThe number of partitions in y</span></button>
65<div class="content" style="display: none;">
66 <p><I>type=</I><span style="color: blue;"><TT>INTEGER</TT></span>. The number of partitions in y
67</p>
68 <p>Default value: <TT style="color:grey">1</TT></p>
69</div>
70
71<button type="button" class="droppy2" style=
72"
73background-color: #edf0f5;
74color: #9373A5;
75cursor: pointer;
76border: none;
77text-align: left;
78outline: none;
79font-size: 15px;
80margin: 2px 2px;
81border: 2px solid #687372;
82display: block;
83width: 100%;
84vertical-align: middle;
85padding-top: 4px;
86padding-bottom: 0px;
87"
88><span class="arrow" style="padding-left: 0px;">►</span><TT><B>nz</B></TT><span style="color: #c4c1c0;">&nbsp &nbsp &nbsp &nbspThe number of partitions in z</span></button>
89<div class="content" style="display: none;">
90 <p><I>type=</I><span style="color: blue;"><TT>INTEGER</TT></span>. The number of partitions in z
91</p>
92 <p>Default value: <TT style="color:grey">1</TT></p>
93</div>
94
95<button type="button" class="droppy2" style=
96"
97background-color: #edf0f5;
98color: #9373A5;
99cursor: pointer;
100border: none;
101text-align: left;
102outline: none;
103font-size: 15px;
104margin: 2px 2px;
105border: 2px solid #687372;
106display: block;
107width: 100%;
108vertical-align: middle;
109padding-top: 4px;
110padding-bottom: 0px;
111"
112><span class="arrow" style="padding-left: 0px;">►</span><TT><B>xcuts</B></TT><span style="color: #c4c1c0;">&nbsp &nbsp &nbsp &nbspLocation of the internal x-cuts</span></button>
113<div class="content" style="display: none;">
114 <p><I>type=</I><span style="color: blue;"><TT>ARRAY</TT></span>. Location of the internal x-cuts. Require nx-1 entries
115</p>
116 <p>Default value: <TT style="color:grey"></TT></p>
117</div>
118
119<button type="button" class="droppy2" style=
120"
121background-color: #edf0f5;
122color: #9373A5;
123cursor: pointer;
124border: none;
125text-align: left;
126outline: none;
127font-size: 15px;
128margin: 2px 2px;
129border: 2px solid #687372;
130display: block;
131width: 100%;
132vertical-align: middle;
133padding-top: 4px;
134padding-bottom: 0px;
135"
136><span class="arrow" style="padding-left: 0px;">►</span><TT><B>ycuts</B></TT><span style="color: #c4c1c0;">&nbsp &nbsp &nbsp &nbspLocation of the internal y-cuts</span></button>
137<div class="content" style="display: none;">
138 <p><I>type=</I><span style="color: blue;"><TT>ARRAY</TT></span>. Location of the internal y-cuts. Require ny-1 entries
139</p>
140 <p>Default value: <TT style="color:grey"></TT></p>
141</div>
142
143<button type="button" class="droppy2" style=
144"
145background-color: #edf0f5;
146color: #9373A5;
147cursor: pointer;
148border: none;
149text-align: left;
150outline: none;
151font-size: 15px;
152margin: 2px 2px;
153border: 2px solid #687372;
154display: block;
155width: 100%;
156vertical-align: middle;
157padding-top: 4px;
158padding-bottom: 0px;
159"
160><span class="arrow" style="padding-left: 0px;">►</span><TT><B>zcuts</B></TT><span style="color: #c4c1c0;">&nbsp &nbsp &nbsp &nbspLocation of the internal z-cuts</span></button>
161<div class="content" style="display: none;">
162 <p><I>type=</I><span style="color: blue;"><TT>ARRAY</TT></span>. Location of the internal z-cuts. Require nz-1 entries
163</p>
164 <p>Default value: <TT style="color:grey"></TT></p>
165</div>
166
167</div>
168\endhtmlonly
169
170\htmlonly
171
172<script>
173
174{
175 var coll = document.getElementsByClassName("droppy2");
176 var i;
177
178 for (i = 0; i < coll.length; i++) {
179 coll[i].addEventListener("click", function() {
180 this.classList.toggle("active");
181 var content = this.nextElementSibling;
182 if (content.style.display === "block") {
183 content.style.display = "none";
184 this.childNodes[0].innerText = "►"
185 } else {
186 content.style.display = "block";
187 this.children[0].innerText = "▼"
188 }
189 });
190 }
191}</script>
192
193\endhtmlonly
194
195### Usage Examples:
196\ref test_framework_chi_mesh_MeshGenerators_meshgen_extruder_KBA_lua
197\ref test_modules_Diffusion_Diffusion3D_2Ortho_lua
198\ref test_modules_Diffusion_Diffusion3D_3Unstructured_IP_lua
199\ref test_modules_Diffusion_Diffusion1D_KBA_lua
200\ref test_modules_Diffusion_Diffusion3D_3Unstructured_lua
201\ref test_modules_LinearBoltzmannSolvers_Transport_SteadyCBC_Transport2D_1Poly_lua
202\ref test_modules_LinearBoltzmannSolvers_Transport_Steady_Transport2D_3Poly_quad_mod_lua
203\ref test_modules_LinearBoltzmannSolvers_Transport_Steady_Transport3D_5Cycles2_lua
204\ref test_modules_LinearBoltzmannSolvers_Transport_Steady_Transport2D_1Poly_lua
205\ref test_modules_LinearBoltzmannSolvers_Transport_Steady_Transport3D_1a_Extruder_lua
206\ref test_modules_LinearBoltzmannSolvers_Transport_Steady_Transport3D_1Poly_qmom_part1_lua
207\ref test_modules_LinearBoltzmannSolvers_Transport_Steady_Transport3D_2Unstructured_lua
208\ref test_modules_LinearBoltzmannSolvers_Transport_Steady_Transport3D_1Poly_qmom_part2_lua
209\ref test_modules_LinearBoltzmannSolvers_Transport_Steady_Transport3D_4Cycles1_lua
210\ref test_modules_LinearBoltzmannSolvers_Transport_Steady_Transport2D_2Unstructured_lua
211*/