82 if (name ==
"verbosity") {
83 std::string verb =
"none";
84 if (value ==
"\"0\"") verb =
"none";
85 if (value ==
"\"1\"" || value ==
"\"2\"" || value ==
"\"3\"") verb =
"low";
86 if (value ==
"\"4\"" || value ==
"\"5\"" || value ==
"\"6\"") verb =
"medium";
87 if (value ==
"\"7\"" || value ==
"\"8\"") verb =
"high";
88 if (value ==
"\"9\"") verb =
"extreme";
89 if (value ==
"\"10\"") verb =
"test";
90 verb =
"\"" + verb +
"\"";
91 ss <<
"<Parameter name=\"verbosity\" type=\"string\" value=" << verb <<
"/>";
95 if (name ==
"cycle type") {
96 std::stringstream temp1; temp1 <<
"\"" <<
"MGV" <<
"\"";
97 std::stringstream temp2; temp2 <<
"\"" <<
"MGV" <<
"\"";
98 if (value == temp1.str() ) { ss <<
"<Parameter name=\"cycle type\" type=\"string\" value=\"V\"/>"; }
99 else if (value == temp2.str()) { ss <<
"<Parameter name=\"cycle type\" type=\"string\" value=\"W\"/>"; }
101 <<
"The parameter " << value <<
" is not supported by MueLu.");
106 if (name ==
"multigrid algorithm") {
107 std::stringstream temp; temp <<
"\"" <<
"1" <<
"\"";
108 if (value == temp.str() ) { ss <<
"<Parameter name=\"multigrid algorithm\" type=\"string\" value=\"pg\"/>";
return ss.str(); }
111 if (name ==
"repartition: enable") {
112 std::stringstream temp1; temp1 <<
"\"" <<
"1" <<
"\"";
113 if (value == temp1.str()) {
115 *out <<
"WARNING: repartitioning in MueLu is different to MLs. Please refer to the MueLu users Manual for more information." << std::endl;
122 if (name ==
"output filename") { ss <<
"<Parameter name=\"output filename\" type=\"string\" value=" << value <<
"/>";
return ss.str(); }
123 if (name ==
"number of equations") { ss <<
"<Parameter name=\"number of equations\" type=\"int\" value=" << value <<
"/>";
return ss.str(); }
124 if (name ==
"max levels") { ss <<
"<Parameter name=\"max levels\" type=\"int\" value=" << value <<
"/>";
return ss.str(); }
125 if (name ==
"W cycle start level") { ss <<
"<Parameter name=\"W cycle start level\" type=\"int\" value=" << value <<
"/>";
return ss.str(); }
126 if (name ==
"coarse grid correction scaling factor") { ss <<
"<Parameter name=\"coarse grid correction scaling factor\" type=\"double\" value=" << value <<
"/>";
return ss.str(); }
127 if (name ==
"fuse prolongation and update") { ss <<
"<Parameter name=\"fuse prolongation and update\" type=\"bool\" value=" << value <<
"/>";
return ss.str(); }
128 if (name ==
"number of vectors") { ss <<
"<Parameter name=\"number of vectors\" type=\"int\" value=" << value <<
"/>";
return ss.str(); }
129 if (name ==
"problem: symmetric") { ss <<
"<Parameter name=\"problem: symmetric\" type=\"bool\" value=" << value <<
"/>";
return ss.str(); }
130 if (name ==
"hierarchy label") { ss <<
"<Parameter name=\"hierarchy label\" type=\"string\" value=" << value <<
"/>";
return ss.str(); }
131 if (name ==
"aggregation: drop tol") { ss <<
"<Parameter name=\"aggregation: drop tol\" type=\"double\" value=" << value <<
"/>";
return ss.str(); }
132 if (name ==
"print initial parameters") { ss <<
"<Parameter name=\"print initial parameters\" type=\"bool\" value=" << value <<
"/>";
return ss.str(); }
133 if (name ==
"print unused parameters") { ss <<
"<Parameter name=\"print unused parameters\" type=\"bool\" value=" << value <<
"/>";
return ss.str(); }
134 if (name ==
"sa: damping factor") { ss <<
"<Parameter name=\"sa: damping factor\" type=\"double\" value=" << value <<
"/>";
return ss.str(); }
135 if (name ==
"sa: eigenvalue estimate num iterations") { ss <<
"<Parameter name=\"sa: eigenvalue estimate num iterations\" type=\"int\" value=" << value <<
"/>";
return ss.str(); }
136 if (name ==
"pcoarsen: element") { ss <<
"<Parameter name=\"pcoarsen: element\" type=\"string\" value=" << value <<
"/>";
return ss.str(); }
137 if (name ==
"pcoarsen: schedule") { ss <<
"<Parameter name=\"pcoarsen: schedule\" type=\"string\" value=" << value <<
"/>";
return ss.str(); }
138 if (name ==
"pcoarsen: hi basis") { ss <<
"<Parameter name=\"pcoarsen: hi basis\" type=\"string\" value=" << value <<
"/>";
return ss.str(); }
139 if (name ==
"pcoarsen: lo basis") { ss <<
"<Parameter name=\"pcoarsen: lo basis\" type=\"string\" value=" << value <<
"/>";
return ss.str(); }
140 if (name ==
"smoother: neighborhood type") { ss <<
"<Parameter name=\"smoother: neighborhood type\" type=\"string\" value=" << value <<
"/>";
return ss.str(); }
141 if (name ==
"tentative: calculate qr") { ss <<
"<Parameter name=\"tentative: calculate qr\" type=\"bool\" value=" << value <<
"/>";
return ss.str(); }
142 if (name ==
"tentative: constant column sums") { ss <<
"<Parameter name=\"tentative: constant column sums\" type=\"bool\" value=" << value <<
"/>";
return ss.str(); }
143 if (name ==
"repartition: enable") { ss <<
"<Parameter name=\"repartition: enable\" type=\"bool\" value=" << value <<
"/>";
return ss.str(); }
144 if (name ==
"repartition: start level") { ss <<
"<Parameter name=\"repartition: start level\" type=\"int\" value=" << value <<
"/>";
return ss.str(); }
145 if (name ==
"repartition: use map") { ss <<
"<Parameter name=\"repartition: use map\" type=\"bool\" value=" << value <<
"/>";
return ss.str(); }
146 if (name ==
"repartition: node repartition level") { ss <<
"<Parameter name=\"repartition: node repartition level\" type=\"int\" value=" << value <<
"/>";
return ss.str(); }
147 if (name ==
"repartition: node id") { ss <<
"<Parameter name=\"repartition: node id\" type=\"int\" value=" << value <<
"/>";
return ss.str(); }
148 if (name ==
"repartition: min rows per proc") { ss <<
"<Parameter name=\"repartition: min rows per proc\" type=\"int\" value=" << value <<
"/>";
return ss.str(); }
149 if (name ==
"repartition: max imbalance") { ss <<
"<Parameter name=\"repartition: max imbalance\" type=\"double\" value=" << value <<
"/>";
return ss.str(); }
150 if (name ==
"use external multigrid package") { ss <<
"<Parameter name=\"use external multigrid package\" type=\"string\" value=" << value <<
"/>";
return ss.str(); }
151 if (name ==
"refmaxwell: mode") { ss <<
"<Parameter name=\"refmaxwell: mode\" type=\"string\" value=" << value <<
"/>";
return ss.str(); }
152 if (name ==
"refmaxwell: disable addon") { ss <<
"<Parameter name=\"refmaxwell: disable addon\" type=\"bool\" value=" << value <<
"/>";
return ss.str(); }
153 if (name ==
"refmaxwell: use as preconditioner") { ss <<
"<Parameter name=\"refmaxwell: use as preconditioner\" type=\"bool\" value=" << value <<
"/>";
return ss.str(); }
154 if (name ==
"refmaxwell: dump matrices") { ss <<
"<Parameter name=\"refmaxwell: dump matrices\" type=\"bool\" value=" << value <<
"/>";
return ss.str(); }
155 if (name ==
"refmaxwell: subsolves on subcommunicators") { ss <<
"<Parameter name=\"refmaxwell: subsolves on subcommunicators\" type=\"bool\" value=" << value <<
"/>";
return ss.str(); }
156 if (name ==
"refmaxwell: ratio AH / A22 subcommunicators") { ss <<
"<Parameter name=\"refmaxwell: ratio AH / A22 subcommunicators\" type=\"double\" value=" << value <<
"/>";
return ss.str(); }
164 "<ParameterList name=\"MueLu\">"
165 "<Parameter name=\"problem: type\" type=\"string\" value=\"unknown\"/>"
166 "<Parameter name=\"verbosity\" type=\"string\" value=\"high\"/>"
167 "<Parameter name=\"output filename\" type=\"string\" value=\"\"/>"
168 "<Parameter name=\"number of equations\" type=\"int\" value=\"1\"/>"
169 "<Parameter name=\"max levels\" type=\"int\" value=\"10\"/>"
170 "<Parameter name=\"cycle type\" type=\"string\" value=\"V\"/>"
171 "<Parameter name=\"W cycle start level\" type=\"int\" value=\"0\"/>"
172 "<Parameter name=\"coarse grid correction scaling factor\" type=\"double\" value=\"1.0\"/>"
173 "<Parameter name=\"fuse prolongation and update\" type=\"bool\" value=\"false\"/>"
174 "<Parameter name=\"number of vectors\" type=\"int\" value=\"1\"/>"
175 "<Parameter name=\"problem: symmetric\" type=\"bool\" value=\"true\"/>"
176 "<Parameter name=\"xml parameter file\" type=\"string\" value=\"\"/>"
177 "<Parameter name=\"parameterlist: syntax\" type=\"string\" value=\"muelu\"/>"
178 "<Parameter name=\"hierarchy label\" type=\"string\" value=\"\"/>"
179 "<ParameterList name=\"matvec params\"/>"
180 "<Parameter name=\"smoother: pre or post\" type=\"string\" value=\"both\"/>"
181 "<Parameter name=\"smoother: type\" type=\"string\" value=\"RELAXATION\"/>"
182 "<Parameter name=\"smoother: pre type\" type=\"string\" value=\"RELAXATION\"/>"
183 "<Parameter name=\"smoother: post type\" type=\"string\" value=\"RELAXATION\"/>"
184 "<ParameterList name=\"smoother: params\"/>"
185 "<ParameterList name=\"smoother: pre params\"/>"
186 "<ParameterList name=\"smoother: post params\"/>"
187 "<Parameter name=\"smoother: overlap\" type=\"int\" value=\"0\"/>"
188 "<Parameter name=\"smoother: pre overlap\" type=\"int\" value=\"0\"/>"
189 "<Parameter name=\"smoother: post overlap\" type=\"int\" value=\"0\"/>"
190 "<Parameter name=\"coarse: max size\" type=\"int\" value=\"2000\"/>"
191 "<Parameter name=\"coarse: type\" type=\"string\" value=\"SuperLU\"/>"
192 "<ParameterList name=\"coarse: params\"/>"
193 "<Parameter name=\"coarse: overlap\" type=\"int\" value=\"0\"/>"
194 "<Parameter name=\"aggregation: type\" type=\"string\" value=\"uncoupled\"/>"
195 "<Parameter name=\"aggregation: mode\" type=\"string\" value=\"uncoupled\"/>"
196 "<Parameter name=\"aggregation: ordering\" type=\"string\" value=\"natural\"/>"
197 "<Parameter name=\"aggregation: drop scheme\" type=\"string\" value=\"classical\"/>"
198 "<Parameter name=\"aggregation: number of random vectors\" type=\"int\" value=\"10\"/>"
199 "<Parameter name=\"aggregation: number of times to pre or post smooth\" type=\"int\" value=\"10\"/>"
200 "<Parameter name=\"aggregation: penalty parameters\" type=\"Array(double)\" value=\"{12.,-.2,0,0,0} \"/>"
201 "<Parameter name=\"aggregation: distance laplacian algo\" type=\"string\" value=\"default\"/>"
202 "<Parameter name=\"aggregation: classical algo\" type=\"string\" value=\"default\"/>"
203 "<Parameter name=\"aggregation: drop tol\" type=\"double\" value=\"0.0\"/>"
204 "<Parameter name=\"aggregation: min agg size\" type=\"int\" value=\"2\"/>"
205 "<Parameter name=\"aggregation: max agg size\" type=\"int\" value=\"-1\"/>"
206 "<Parameter name=\"aggregation: compute aggregate qualities\" type=\"bool\" value=\"false\"/>"
207 "<Parameter name=\"aggregation: brick x size\" type=\"int\" value=\"2\"/>"
208 "<Parameter name=\"aggregation: brick y size\" type=\"int\" value=\"2\"/>"
209 "<Parameter name=\"aggregation: brick z size\" type=\"int\" value=\"2\"/>"
210 "<Parameter name=\"aggregation: brick x Dirichlet\" type=\"bool\" value=\"false\"/>"
211 "<Parameter name=\"aggregation: brick y Dirichlet\" type=\"bool\" value=\"false\"/>"
212 "<Parameter name=\"aggregation: brick z Dirichlet\" type=\"bool\" value=\"false\"/>"
213 "<Parameter name=\"aggregation: max selected neighbors\" type=\"int\" value=\"0\"/>"
214 "<Parameter name=\"aggregation: Dirichlet threshold\" type=\"double\" value=\"0.0\"/>"
215 "<Parameter name=\"aggregation: deterministic\" type=\"bool\" value=\"false\"/>"
216 "<Parameter name=\"aggregation: coloring algorithm\" type=\"string\" value=\"serial\"/>"
217 "<Parameter name=\"aggregation: enable phase 1\" type=\"bool\" value=\"true\"/>"
218 "<Parameter name=\"aggregation: enable phase 2a\" type=\"bool\" value=\"true\"/>"
219 "<Parameter name=\"aggregation: enable phase 2b\" type=\"bool\" value=\"true\"/>"
220 "<Parameter name=\"aggregation: enable phase 3\" type=\"bool\" value=\"true\"/>"
221 "<Parameter name=\"aggregation: phase2a include root\" type=\"bool\" value=\"true\"/>"
222 "<Parameter name=\"aggregation: error on nodes with no on-rank neighbors\" type=\"bool\" value=\"false\"/>"
223 "<Parameter name=\"aggregation: phase3 avoid singletons\" type=\"bool\" value=\"false\"/>"
224 "<Parameter name=\"aggregation: allow empty prolongator columns\" type=\"bool\" value=\"false\"/>"
225 "<Parameter name=\"aggregation: preserve Dirichlet points\" type=\"bool\" value=\"false\"/>"
226 "<Parameter name=\"aggregation: allow user-specified singletons\" type=\"bool\" value=\"false\"/>"
227 "<Parameter name=\"aggregation: use interface aggregation\" type=\"bool\" value=\"false\"/>"
228 "<Parameter name=\"aggregation: export visualization data\" type=\"bool\" value=\"false\"/>"
229 "<Parameter name=\"aggregation: output filename\" type=\"string\" value=\"\"/>"
230 "<Parameter name=\"aggregation: output file: time step\" type=\"int\" value=\"0\"/>"
231 "<Parameter name=\"aggregation: output file: iter\" type=\"int\" value=\"0\"/>"
232 "<Parameter name=\"aggregation: output file: agg style\" type=\"string\" value=\"Point Cloud\"/>"
233 "<Parameter name=\"aggregation: output file: fine graph edges\" type=\"bool\" value=\"false\"/>"
234 "<Parameter name=\"aggregation: output file: coarse graph edges\" type=\"bool\" value=\"false\"/>"
235 "<Parameter name=\"aggregation: output file: build colormap\" type=\"bool\" value=\"false\"/>"
236 "<ParameterList name=\"aggregation: params\"/>"
237 "<ParameterList name=\"strength-of-connection: params\"/>"
238 "<Parameter name=\"aggregation: mesh layout\" type=\"string\" value=\"Global Lexicographic\"/>"
239 "<Parameter name=\"aggregation: output type\" type=\"string\" value=\"Aggregates\"/>"
240 "<Parameter name=\"aggregation: coarsening rate\" type=\"string\" value=\"{3}\"/>"
241 "<Parameter name=\"aggregation: number of spatial dimensions\" type=\"int\" value=\"3\"/>"
242 "<Parameter name=\"aggregation: coarsening order\" type=\"int\" value=\"0\"/>"
243 "<Parameter name=\"aggregation: pairwise: size\" type=\"int\" value=\"8\"/>"
244 "<Parameter name=\"aggregation: pairwise: tie threshold\" type=\"double\" value=\"1e-6\"/>"
245 "<Parameter name=\"aggregate qualities: check symmetry\" type=\"bool\" value=\"false\"/>"
246 "<Parameter name=\"aggregate qualities: good aggregate threshold\" type=\"double\" value=\"100.0\"/>"
247 "<Parameter name=\"aggregate qualities: file output\" type=\"bool\" value=\"false\"/>"
248 "<Parameter name=\"aggregate qualities: file base\" type=\"string\" value=\"agg_qualities\"/>"
249 "<Parameter name=\"aggregate qualities: algorithm\" type=\"string\" value=\"forward\"/>"
250 "<Parameter name=\"aggregate qualities: zero threshold\" type=\"double\" value=\"1e-12\"/>"
251 "<Parameter name=\"aggregate qualities: percentiles\" type=\"Array(double)\" value=\"{}\"/>"
252 "<ParameterList name=\"export data\"/>"
253 "<Parameter name=\"print initial parameters\" type=\"bool\" value=\"true\"/>"
254 "<Parameter name=\"print unused parameters\" type=\"bool\" value=\"true\"/>"
255 "<Parameter name=\"transpose: use implicit\" type=\"bool\" value=\"false\"/>"
256 "<Parameter name=\"restriction: scale nullspace\" type=\"bool\" value=\"false\"/>"
257 "<Parameter name=\"use kokkos refactor\" type=\"bool\" value=\"false\"/>"
258 "<Parameter name=\"synchronize factory timers\" type=\"bool\" value=\"false\"/>"
259 "<Parameter name=\"rap: triple product\" type=\"bool\" value=\"false\"/>"
260 "<Parameter name=\"multigrid algorithm\" type=\"string\" value=\"sa\"/>"
261 "<Parameter name=\"toggle: mode\" type=\"string\" value=\"semicoarsen\"/>"
262 "<Parameter name=\"semicoarsen: coarsen rate\" type=\"int\" value=\"3\"/>"
263 "<Parameter name=\"semicoarsen: number of levels\" type=\"int\" value=\"3\"/>"
264 "<Parameter name=\"linedetection: orientation\" type=\"string\" value=\"vertical\"/>"
265 "<Parameter name=\"linedetection: num layers\" type=\"int\" value=\"-1\"/>"
266 "<Parameter name=\"sa: damping factor\" type=\"double\" value=\"1.33\"/>"
267 "<Parameter name=\"sa: use filtered matrix\" type=\"bool\" value=\"true\"/>"
268 "<Parameter name=\"sa: calculate eigenvalue estimate\" type=\"bool\" value=\"false\"/>"
269 "<Parameter name=\"sa: eigenvalue estimate num iterations\" type=\"int\" value=\"10\"/>"
270 "<Parameter name=\"interp: interpolation order\" type=\"int\" value=\"1\"/>"
271 "<Parameter name=\"interp: build coarse coordinates\" type=\"bool\" value=\"true\"/>"
272 "<ParameterList name=\"transfer: params\"/>"
273 "<Parameter name=\"pcoarsen: element\" type=\"string\" value=\"\"/>"
274 "<Parameter name=\"pcoarsen: schedule\" type=\"string\" value=\"\"/>"
275 "<Parameter name=\"pcoarsen: hi basis\" type=\"string\" value=\"\"/>"
276 "<Parameter name=\"pcoarsen: lo basis\" type=\"string\" value=\"\"/>"
277 "<Parameter name=\"smoother: neighborhood type\" type=\"string\" value=\"\"/>"
278 "<Parameter name=\"filtered matrix: use lumping\" type=\"bool\" value=\"true\"/>"
279 "<Parameter name=\"filtered matrix: reuse eigenvalue\" type=\"bool\" value=\"true\"/>"
280 "<Parameter name=\"filtered matrix: reuse graph\" type=\"bool\" value=\"true\"/>"
281 "<Parameter name=\"emin: iterative method\" type=\"string\" value=\"cg\"/>"
282 "<Parameter name=\"emin: num iterations\" type=\"int\" value=\"2\"/>"
283 "<Parameter name=\"emin: num reuse iterations\" type=\"int\" value=\"1\"/>"
284 "<Parameter name=\"emin: pattern\" type=\"string\" value=\"AkPtent\"/>"
285 "<Parameter name=\"emin: pattern order\" type=\"int\" value=\"1\"/>"
286 "<Parameter name=\"emin: use filtered matrix\" type=\"bool\" value=\"true\"/>"
287 "<Parameter name=\"tentative: calculate qr\" type=\"bool\" value=\"true\"/>"
288 "<Parameter name=\"tentative: constant column sums\" type=\"bool\" value=\"false\"/>"
289 "<Parameter name=\"tentative: build coarse coordinates\" type=\"bool\" value=\"true\"/>"
290 "<Parameter name=\"repartition: enable\" type=\"bool\" value=\"false\"/>"
291 "<Parameter name=\"repartition: partitioner\" type=\"string\" value=\"zoltan2\"/>"
292 "<ParameterList name=\"repartition: params\"/>"
293 "<Parameter name=\"repartition: start level\" type=\"int\" value=\"2\"/>"
294 "<Parameter name=\"repartition: use map\" type=\"bool\" value=\"false\"/>"
295 "<Parameter name=\"repartition: node repartition level\" type=\"int\" value=\"-1\"/>"
296 "<Parameter name=\"repartition: node id\" type=\"int\" value=\"-1\"/>"
297 "<Parameter name=\"repartition: min rows per proc\" type=\"int\" value=\"800\"/>"
298 "<Parameter name=\"repartition: target rows per proc\" type=\"int\" value=\"0\"/>"
299 "<Parameter name=\"repartition: min rows per thread\" type=\"int\" value=\"0\"/>"
300 "<Parameter name=\"repartition: target rows per thread\" type=\"int\" value=\"0\"/>"
301 "<Parameter name=\"repartition: max imbalance\" type=\"double\" value=\"1.2\"/>"
302 "<Parameter name=\"repartition: remap parts\" type=\"bool\" value=\"true\"/>"
303 "<Parameter name=\"repartition: remap num values\" type=\"int\" value=\"4\"/>"
304 "<Parameter name=\"repartition: remap accept partition\" type=\"bool\" value=\"true\"/>"
305 "<Parameter name=\"repartition: print partition distribution\" type=\"bool\" value=\"false\"/>"
306 "<Parameter name=\"repartition: rebalance P and R\" type=\"bool\" value=\"false\"/>"
307 "<Parameter name=\"repartition: rebalance Nullspace\" type=\"bool\" value=\"true\"/>"
308 "<Parameter name=\"repartition: use subcommunicators\" type=\"bool\" value=\"true\"/>"
309 "<Parameter name=\"rap: relative diagonal floor\" type=\"Array(double)\" value=\"{}\"/>"
310 "<Parameter name=\"rap: fix zero diagonals\" type=\"bool\" value=\"false\"/>"
311 "<Parameter name=\"rap: fix zero diagonals threshold\" type=\"double\" value=\"0.\"/>"
312 "<Parameter name=\"rap: shift\" type=\"double\" value=\"0.0\"/>"
313 "<Parameter name=\"rap: shift diagonal M\" type=\"bool\" value=\"false\"/>"
314 "<Parameter name=\"rap: shift low storage\" type=\"bool\" value=\"false\"/>"
315 "<Parameter name=\"rap: shift array\" type=\"Array(double)\" value=\"{}\"/>"
316 "<Parameter name=\"rap: cfl array\" type=\"Array(double)\" value=\"{}\"/>"
317 "<Parameter name=\"rap: algorithm\" type=\"string\" value=\"galerkin\"/>"
318 "<ParameterList name=\"matrixmatrix: kernel params\"/>"
319 "<Parameter name=\"matrixmatrix: kernel params:MM_TAFC_OptimizationCoreCount \" type=\"int\" value=\"3000 \"/>"
320 "<Parameter name=\"isMatrixMatrix_TransferAndFillComplete \" type=\"bool\" value=\"false\"/>"
321 "<Parameter name=\"reuse: type\" type=\"string\" value=\"none\"/>"
322 "<Parameter name=\"use external multigrid package\" type=\"string\" value=\"none\"/>"
323 "<ParameterList name=\"amgx:params\"/>"
324 "<Parameter name=\"debug: graph level\" type=\"int\" value=\"-1\"/>"
325 "<Parameter name=\"refmaxwell: mode\" type=\"string\" value=\"additive\"/>"
326 "<Parameter name=\"refmaxwell: disable addon\" type=\"bool\" value=\"true\"/>"
327 "<ParameterList name=\"refmaxwell: 11list\"/>"
328 "<ParameterList name=\"refmaxwell: 22list\"/>"
329 "<Parameter name=\"refmaxwell: use as preconditioner\" type=\"bool\" value=\"false\"/>"
330 "<Parameter name=\"refmaxwell: dump matrices\" type=\"bool\" value=\"false\"/>"
331 "<Parameter name=\"refmaxwell: subsolves on subcommunicators\" type=\"bool\" value=\"false\"/>"
332 "<Parameter name=\"refmaxwell: ratio AH / A22 subcommunicators\" type=\"double\" value=\"1.0\"/>"
338 "<ParameterList name=\"MueLu\">"
340 "<Parameter name=\"number of equations\" type=\"int\" value=\"1\"/>"
342 "<Parameter name=\"smoother: type\" type=\"string\" value=\"CHEBYSHEV\"/>"
344 "<Parameter name=\"multigrid algorithm\" type=\"string\" value=\"sa\"/>"
348 (
"Poisson-2D-complex",
350 "<ParameterList name=\"MueLu\">"
352 "<Parameter name=\"number of equations\" type=\"int\" value=\"1\"/>"
354 "<Parameter name=\"smoother: type\" type=\"string\" value=\"RELAXATION\"/>"
356 "<ParameterList name=\"smoother: params\">"
358 "<Parameter name=\"relaxation: type\" type=\"string\" value=\"Symmetric Gauss-Seidel\"/>"
362 "<Parameter name=\"multigrid algorithm\" type=\"string\" value=\"sa\"/>"
368 "<ParameterList name=\"MueLu\">"
370 "<Parameter name=\"number of equations\" type=\"int\" value=\"1\"/>"
372 "<Parameter name=\"smoother: type\" type=\"string\" value=\"CHEBYSHEV\"/>"
374 "<Parameter name=\"multigrid algorithm\" type=\"string\" value=\"sa\"/>"
378 (
"Poisson-3D-complex",
380 "<ParameterList name=\"MueLu\">"
382 "<Parameter name=\"number of equations\" type=\"int\" value=\"1\"/>"
384 "<Parameter name=\"smoother: type\" type=\"string\" value=\"RELAXATION\"/>"
386 "<ParameterList name=\"smoother: params\">"
388 "<Parameter name=\"relaxation: type\" type=\"string\" value=\"Symmetric Gauss-Seidel\"/>"
392 "<Parameter name=\"multigrid algorithm\" type=\"string\" value=\"sa\"/>"
398 "<ParameterList name=\"MueLu\">"
400 "<Parameter name=\"number of equations\" type=\"int\" value=\"2\"/>"
402 "<Parameter name=\"smoother: type\" type=\"string\" value=\"CHEBYSHEV\"/>"
404 "<Parameter name=\"multigrid algorithm\" type=\"string\" value=\"sa\"/>"
408 (
"Elasticity-2D-complex",
410 "<ParameterList name=\"MueLu\">"
412 "<Parameter name=\"number of equations\" type=\"int\" value=\"2\"/>"
414 "<Parameter name=\"smoother: type\" type=\"string\" value=\"RELAXATION\"/>"
416 "<ParameterList name=\"smoother: params\">"
418 "<Parameter name=\"relaxation: type\" type=\"string\" value=\"Symmetric Gauss-Seidel\"/>"
422 "<Parameter name=\"multigrid algorithm\" type=\"string\" value=\"sa\"/>"
428 "<ParameterList name=\"MueLu\">"
430 "<Parameter name=\"number of equations\" type=\"int\" value=\"3\"/>"
432 "<Parameter name=\"smoother: type\" type=\"string\" value=\"CHEBYSHEV\"/>"
434 "<Parameter name=\"multigrid algorithm\" type=\"string\" value=\"sa\"/>"
438 (
"Elasticity-3D-complex",
440 "<ParameterList name=\"MueLu\">"
442 "<Parameter name=\"number of equations\" type=\"int\" value=\"3\"/>"
444 "<Parameter name=\"smoother: type\" type=\"string\" value=\"RELAXATION\"/>"
446 "<ParameterList name=\"smoother: params\">"
448 "<Parameter name=\"relaxation: type\" type=\"string\" value=\"Symmetric Gauss-Seidel\"/>"
452 "<Parameter name=\"multigrid algorithm\" type=\"string\" value=\"sa\"/>"
458 "<ParameterList name=\"MueLu\">"
460 "<Parameter name=\"smoother: type\" type=\"string\" value=\"SCHWARZ\"/>"
462 "<ParameterList name=\"smoother: params\">"
464 "<Parameter name=\"schwarz: overlap level\" type=\"int\" value=\"1\"/>"
466 "<Parameter name=\"schwarz: combine mode\" type=\"string\" value=\"Zero\"/>"
468 "<Parameter name=\"schwarz: use reordering\" type=\"bool\" value=\"false\"/>"
470 "<Parameter name=\"subdomain solver name\" type=\"string\" value=\"RILUK\"/>"
472 "<ParameterList name=\"subdomain solver parameters\">"
474 "<Parameter name=\"fact: iluk level-of-fill\" type=\"int\" value=\"0\"/>"
476 "<Parameter name=\"fact: absolute threshold\" type=\"double\" value=\"0.\"/>"
478 "<Parameter name=\"fact: relative threshold\" type=\"double\" value=\"1.\"/>"
480 "<Parameter name=\"fact: relax value\" type=\"double\" value=\"0.\"/>"
486 "<Parameter name=\"transpose: use implicit\" type=\"bool\" value=\"true\"/>"
488 "<Parameter name=\"multigrid algorithm\" type=\"string\" value=\"unsmoothed\"/>"
492 (
"ConvectionDiffusion",
494 "<ParameterList name=\"MueLu\">"
496 "<Parameter name=\"problem: symmetric\" type=\"bool\" value=\"false\"/>"
498 "<Parameter name=\"smoother: type\" type=\"string\" value=\"RELAXATION\"/>"
500 "<ParameterList name=\"smoother: params\">"
502 "<Parameter name=\"relaxation: type\" type=\"string\" value=\"Gauss-Seidel\"/>"
506 "<Parameter name=\"multigrid algorithm\" type=\"string\" value=\"pg\"/>"
508 "<Parameter name=\"sa: use filtered matrix\" type=\"bool\" value=\"true\"/>"
510 "<Parameter name=\"emin: use filtered matrix\" type=\"bool\" value=\"true\"/>"
517 (
"default values",
"problem: type")
519 (
"ML output",
"verbosity")
521 (
"output filename",
"output filename")
523 (
"PDE equations",
"number of equations")
525 (
"max levels",
"max levels")
527 (
"prec type",
"cycle type")
529 (
"W cycle start level",
"W cycle start level")
531 (
"coarse grid correction scaling factor",
"coarse grid correction scaling factor")
533 (
"fuse prolongation and update",
"fuse prolongation and update")
535 (
"number of vectors",
"number of vectors")
537 (
"problem: symmetric",
"problem: symmetric")
539 (
"xml parameter file",
"xml parameter file")
541 (
"parameterlist: syntax",
"parameterlist: syntax")
543 (
"hierarchy label",
"hierarchy label")
545 (
"matvec params",
"matvec params")
547 (
"smoother: pre or post",
"smoother: pre or post")
549 (
"smoother: type",
"smoother: type")
551 (
"smoother: pre type",
"smoother: pre type")
553 (
"smoother: post type",
"smoother: post type")
555 (
"smoother: params",
"smoother: params")
557 (
"smoother: pre params",
"smoother: pre params")
559 (
"smoother: post params",
"smoother: post params")
561 (
"smoother: overlap",
"smoother: overlap")
563 (
"smoother: pre overlap",
"smoother: pre overlap")
565 (
"smoother: post overlap",
"smoother: post overlap")
567 (
"max size",
"coarse: max size")
569 (
"coarse: type",
"coarse: type")
571 (
"coarse: params",
"coarse: params")
573 (
"coarse: overlap",
"coarse: overlap")
575 (
"aggregation: type",
"aggregation: type")
577 (
"aggregation: mode",
"aggregation: mode")
579 (
"aggregation: ordering",
"aggregation: ordering")
581 (
"aggregation: drop scheme",
"aggregation: drop scheme")
583 (
"aggregation: number of random vectors",
"aggregation: number of random vectors")
585 (
"aggregation: number of times to pre or post smooth",
"aggregation: number of times to pre or post smooth")
587 (
"aggregation: penalty parameters",
"aggregation: penalty parameters")
589 (
"aggregation: distance laplacian algo",
"aggregation: distance laplacian algo")
591 (
"aggregation: classical algo",
"aggregation: classical algo")
593 (
"aggregation: threshold",
"aggregation: drop tol")
595 (
"aggregation: min agg size",
"aggregation: min agg size")
597 (
"aggregation: max agg size",
"aggregation: max agg size")
599 (
"aggregation: compute aggregate qualities",
"aggregation: compute aggregate qualities")
601 (
"aggregation: brick x size",
"aggregation: brick x size")
603 (
"aggregation: brick y size",
"aggregation: brick y size")
605 (
"aggregation: brick z size",
"aggregation: brick z size")
607 (
"aggregation: brick x Dirichlet",
"aggregation: brick x Dirichlet")
609 (
"aggregation: brick y Dirichlet",
"aggregation: brick y Dirichlet")
611 (
"aggregation: brick z Dirichlet",
"aggregation: brick z Dirichlet")
613 (
"aggregation: max selected neighbors",
"aggregation: max selected neighbors")
615 (
"aggregation: Dirichlet threshold",
"aggregation: Dirichlet threshold")
617 (
"aggregation: deterministic",
"aggregation: deterministic")
619 (
"aggregation: coloring algorithm",
"aggregation: coloring algorithm")
621 (
"aggregation: enable phase 1",
"aggregation: enable phase 1")
623 (
"aggregation: enable phase 2a",
"aggregation: enable phase 2a")
625 (
"aggregation: enable phase 2b",
"aggregation: enable phase 2b")
627 (
"aggregation: enable phase 3",
"aggregation: enable phase 3")
629 (
"aggregation: phase2a include root",
"aggregation: phase2a include root")
631 (
"aggregation: error on nodes with no on-rank neighbors",
"aggregation: error on nodes with no on-rank neighbors")
633 (
"aggregation: phase3 avoid singletons",
"aggregation: phase3 avoid singletons")
635 (
"aggregation: allow empty prolongator columns",
"aggregation: allow empty prolongator columns")
637 (
"aggregation: preserve Dirichlet points",
"aggregation: preserve Dirichlet points")
639 (
"aggregation: allow user-specified singletons",
"aggregation: allow user-specified singletons")
641 (
"aggregation: use interface aggregation",
"aggregation: use interface aggregation")
643 (
"aggregation: export visualization data",
"aggregation: export visualization data")
645 (
"aggregation: output filename",
"aggregation: output filename")
647 (
"aggregation: output file: time step",
"aggregation: output file: time step")
649 (
"aggregation: output file: iter",
"aggregation: output file: iter")
651 (
"aggregation: output file: agg style",
"aggregation: output file: agg style")
653 (
"aggregation: output file: fine graph edges",
"aggregation: output file: fine graph edges")
655 (
"aggregation: output file: coarse graph edges",
"aggregation: output file: coarse graph edges")
657 (
"aggregation: output file: build colormap",
"aggregation: output file: build colormap")
659 (
"aggregation: params",
"aggregation: params")
661 (
"strength-of-connection: params",
"strength-of-connection: params")
663 (
"aggregation: mesh layout",
"aggregation: mesh layout")
665 (
"aggregation: output type",
"aggregation: output type")
667 (
"aggregation: coarsening rate",
"aggregation: coarsening rate")
669 (
"aggregation: number of spatial dimensions",
"aggregation: number of spatial dimensions")
671 (
"aggregation: coarsening order",
"aggregation: coarsening order")
673 (
"aggregation: pairwise: size",
"aggregation: pairwise: size")
675 (
"aggregation: pairwise: tie threshold",
"aggregation: pairwise: tie threshold")
677 (
"aggregate qualities: check symmetry",
"aggregate qualities: check symmetry")
679 (
"aggregate qualities: good aggregate threshold",
"aggregate qualities: good aggregate threshold")
681 (
"aggregate qualities: file output",
"aggregate qualities: file output")
683 (
"aggregate qualities: file base",
"aggregate qualities: file base")
685 (
"aggregate qualities: algorithm",
"aggregate qualities: algorithm")
687 (
"aggregate qualities: zero threshold",
"aggregate qualities: zero threshold")
689 (
"aggregate qualities: percentiles",
"aggregate qualities: percentiles")
691 (
"export data",
"export data")
693 (
"ML print initial list",
"print initial parameters")
695 (
"print unused",
"print unused parameters")
697 (
"transpose: use implicit",
"transpose: use implicit")
699 (
"restriction: scale nullspace",
"restriction: scale nullspace")
701 (
"use kokkos refactor",
"use kokkos refactor")
703 (
"synchronize factory timers",
"synchronize factory timers")
705 (
"rap: triple product",
"rap: triple product")
707 (
"energy minimization: enable",
"multigrid algorithm")
709 (
"toggle: mode",
"toggle: mode")
711 (
"semicoarsen: coarsen rate",
"semicoarsen: coarsen rate")
713 (
"semicoarsen: number of levels",
"semicoarsen: number of levels")
715 (
"linedetection: orientation",
"linedetection: orientation")
717 (
"linedetection: num layers",
"linedetection: num layers")
719 (
"aggregation: damping factor",
"sa: damping factor")
721 (
"sa: use filtered matrix",
"sa: use filtered matrix")
723 (
"sa: calculate eigenvalue estimate",
"sa: calculate eigenvalue estimate")
725 (
"eigen-analysis: iterations",
"sa: eigenvalue estimate num iterations")
727 (
"interp: interpolation order",
"interp: interpolation order")
729 (
"interp: build coarse coordinates",
"interp: build coarse coordinates")
731 (
"transfer: params",
"transfer: params")
733 (
"pcoarsen: element",
"pcoarsen: element")
735 (
"pcoarsen: schedule",
"pcoarsen: schedule")
737 (
"pcoarsen: hi basis",
"pcoarsen: hi basis")
739 (
"pcoarsen: lo basis",
"pcoarsen: lo basis")
741 (
"smoother: neighborhood type",
"smoother: neighborhood type")
743 (
"filtered matrix: use lumping",
"filtered matrix: use lumping")
745 (
"filtered matrix: reuse eigenvalue",
"filtered matrix: reuse eigenvalue")
747 (
"filtered matrix: reuse graph",
"filtered matrix: reuse graph")
749 (
"emin: iterative method",
"emin: iterative method")
751 (
"emin: num iterations",
"emin: num iterations")
753 (
"emin: num reuse iterations",
"emin: num reuse iterations")
755 (
"emin: pattern",
"emin: pattern")
757 (
"emin: pattern order",
"emin: pattern order")
759 (
"emin: use filtered matrix",
"emin: use filtered matrix")
761 (
"tentative: calculate qr",
"tentative: calculate qr")
763 (
"tentative: constant column sums",
"tentative: constant column sums")
765 (
"tentative: build coarse coordinates",
"tentative: build coarse coordinates")
767 (
"repartition: enable",
"repartition: enable")
769 (
"repartition: partitioner",
"repartition: partitioner")
771 (
"repartition: params",
"repartition: params")
773 (
"repartition: start level",
"repartition: start level")
775 (
"repartition: use map",
"repartition: use map")
777 (
"repartition: node repartition level",
"repartition: node repartition level")
779 (
"repartition: node id",
"repartition: node id")
781 (
"repartition: min per proc",
"repartition: min rows per proc")
783 (
"repartition: target rows per proc",
"repartition: target rows per proc")
785 (
"repartition: min rows per thread",
"repartition: min rows per thread")
787 (
"repartition: target rows per thread",
"repartition: target rows per thread")
789 (
"repartition: max min ratio",
"repartition: max imbalance")
791 (
"repartition: remap parts",
"repartition: remap parts")
793 (
"repartition: remap num values",
"repartition: remap num values")
795 (
"repartition: remap accept partition",
"repartition: remap accept partition")
797 (
"repartition: print partition distribution",
"repartition: print partition distribution")
799 (
"repartition: rebalance P and R",
"repartition: rebalance P and R")
801 (
"repartition: rebalance Nullspace",
"repartition: rebalance Nullspace")
803 (
"repartition: use subcommunicators",
"repartition: use subcommunicators")
805 (
"rap: relative diagonal floor",
"rap: relative diagonal floor")
807 (
"rap: fix zero diagonals",
"rap: fix zero diagonals")
809 (
"rap: fix zero diagonals threshold",
"rap: fix zero diagonals threshold")
811 (
"rap: shift",
"rap: shift")
813 (
"rap: shift diagonal M",
"rap: shift diagonal M")
815 (
"rap: shift low storage",
"rap: shift low storage")
817 (
"rap: shift array",
"rap: shift array")
819 (
"rap: cfl array",
"rap: cfl array")
821 (
"rap: algorithm",
"rap: algorithm")
823 (
"matrixmatrix: kernel params",
"matrixmatrix: kernel params")
825 (
"matrixmatrix: kernel params:MM_TAFC_OptimizationCoreCount ",
"matrixmatrix: kernel params:MM_TAFC_OptimizationCoreCount ")
827 (
"isMatrixMatrix_TransferAndFillComplete ",
"isMatrixMatrix_TransferAndFillComplete ")
829 (
"reuse: type",
"reuse: type")
831 (
"use external multigrid package",
"use external multigrid package")
833 (
"amgx:params",
"amgx:params")
835 (
"debug: graph level",
"debug: graph level")
837 (
"refmaxwell: mode",
"refmaxwell: mode")
839 (
"refmaxwell: disable addon",
"refmaxwell: disable addon")
841 (
"refmaxwell: 11list",
"refmaxwell: 11list")
843 (
"refmaxwell: 22list",
"refmaxwell: 22list")
845 (
"zero starting solution",
"refmaxwell: use as preconditioner")
847 (
"refmaxwell: dump matrices",
"refmaxwell: dump matrices")
849 (
"refmaxwell: subsolves on subcommunicators",
"refmaxwell: subsolves on subcommunicators")
851 (
"refmaxwell: ratio AH / A22 subcommunicators",
"refmaxwell: ratio AH / A22 subcommunicators")
static std::map< std::string, std::string > ML2MueLuLists_
Map of ML parameter strings to corresponding MueLu parametes.
static const std::string stringList_
String equivalent of the masterList_.
static Teuchos::RCP< Teuchos::ParameterList > problemSpecificList_
A ParameterList that holds all valid parameters and their default values for a particular problem typ...
static std::string interpretParameterName(const std::string &name, const std::string &value)
#define TEUCHOS_TEST_FOR_EXCEPTION(throw_exception_test, Exception, msg)
static Teuchos::RCP< Teuchos::ParameterList > masterList_
A ParameterList that holds all valid parameters and their default values.
static Teuchos::RCP< Teuchos::ParameterList > GetProblemSpecificList(std::string const &problemType)
Return default parameter settings for the specified problem type.
Exception throws to report errors in the internal logical of the program.
static Teuchos::RCP< const Teuchos::ParameterList > List()
Return a "master" list of all valid parameters and their default values.
Helper class to initialize DefaultProblemTypeLists_ in class MasterList.
static std::map< std::string, std::string > DefaultProblemTypeLists_
Map of string equivalents of the problemSpecificList_. The first entry is the problem type...
static std::string problemType_
The problem type associated with the current problem-specific ParameterList.