MueLu Version of the Day
Loading...
Searching...
No Matches
MueLu_MasterList.cpp
Go to the documentation of this file.
1// @HEADER
2// *****************************************************************************
3// MueLu: A package for multigrid based preconditioning
4//
5// Copyright 2012 NTESS and the MueLu contributors.
6// SPDX-License-Identifier: BSD-3-Clause
7// *****************************************************************************
8// @HEADER
9
10// clang-format off
11#include <Teuchos_XMLParameterListCoreHelpers.hpp>
12
13#include "MueLu_Exceptions.hpp"
14#include "MueLu_MasterList.hpp"
15
16namespace MueLu {
17
18 Teuchos::RCP<const Teuchos::ParameterList> MasterList::List() {
19 if (masterList_.is_null()) {
20 masterList_ = Teuchos::getParametersFromXmlString(stringList_);
21 }
22
23 return masterList_;
24 }
25
26 Teuchos::RCP<Teuchos::ParameterList> MasterList::GetProblemSpecificList(std::string const & problemType) {
27
28 if ( (problemType != problemType_) || problemSpecificList_.is_null() ) {
29 if (DefaultProblemTypeLists_.find(problemType) != DefaultProblemTypeLists_.end()) {
30 problemType_ = problemType;
31 problemSpecificList_ = Teuchos::getParametersFromXmlString(DefaultProblemTypeLists_[problemType]);
32 } else {
33 //TODO provide valid problem types
34 TEUCHOS_TEST_FOR_EXCEPTION(true, MueLu::Exceptions::RuntimeError, "Invalid problem type " << problemType << ".");
35 }
36 }
38 }
39
40 std::string MasterList::interpretParameterName(const std::string& name, const std::string& value) {
41
42 // used to concatenate the return string
43 std::stringstream ss;
44
45 // put in short cuts here!
46
47 if (name == "verbosity") {
48 std::string verb = "none";
49 if (value == "\"0\"") verb = "none";
50 if (value == "\"1\"" || value == "\"2\"" || value == "\"3\"") verb = "low";
51 if (value == "\"4\"" || value == "\"5\"" || value == "\"6\"") verb = "medium";
52 if (value == "\"7\"" || value == "\"8\"") verb = "high";
53 if (value == "\"9\"") verb = "extreme";
54 if (value == "\"10\"") verb = "test";
55 verb = "\"" + verb + "\"";
56 ss << "<Parameter name=\"verbosity\" type=\"string\" value=" << verb << "/>";
57 return ss.str();
58 }
59
60 if (name == "cycle type") {
61 std::stringstream temp1; temp1 << "\"" << "MGV" << "\"";
62 std::stringstream temp2; temp2 << "\"" << "MGW" << "\"";
63 if (value == temp1.str() ) { ss << "<Parameter name=\"cycle type\" type=\"string\" value=\"V\"/>"; }
64 else if (value == temp2.str()) { ss << "<Parameter name=\"cycle type\" type=\"string\" value=\"W\"/>"; }
65 else TEUCHOS_TEST_FOR_EXCEPTION(true, MueLu::Exceptions::RuntimeError, "MasterList::interpretParameterName, Line " << __LINE__ << ". "
66 << "The parameter " << value << " is not supported by MueLu.");
67 return ss.str();
68 }
69
70 // energy minimization is enabled
71 if (name == "multigrid algorithm") {
72 std::stringstream temp; temp << "\"" << "1" << "\"";
73 if (value == temp.str() ) { ss << "<Parameter name=\"multigrid algorithm\" type=\"string\" value=\"pg\"/>"; return ss.str(); }
74 }
75
76 // put in auto-generated code here
77
78
79 if (name == "output filename") { ss << "<Parameter name=\"output filename\" type=\"string\" value=" << value << "/>"; return ss.str(); }
80 if (name == "number of equations") { ss << "<Parameter name=\"number of equations\" type=\"int\" value=" << value << "/>"; return ss.str(); }
81 if (name == "max levels") { ss << "<Parameter name=\"max levels\" type=\"int\" value=" << value << "/>"; return ss.str(); }
82 if (name == "W cycle start level") { ss << "<Parameter name=\"W cycle start level\" type=\"int\" value=" << value << "/>"; return ss.str(); }
83 if (name == "coarse grid correction scaling factor") { ss << "<Parameter name=\"coarse grid correction scaling factor\" type=\"double\" value=" << value << "/>"; return ss.str(); }
84 if (name == "fuse prolongation and update") { ss << "<Parameter name=\"fuse prolongation and update\" type=\"bool\" value=" << value << "/>"; return ss.str(); }
85 if (name == "number of vectors") { ss << "<Parameter name=\"number of vectors\" type=\"int\" value=" << value << "/>"; return ss.str(); }
86 if (name == "problem: symmetric") { ss << "<Parameter name=\"problem: symmetric\" type=\"bool\" value=" << value << "/>"; return ss.str(); }
87 if (name == "hierarchy label") { ss << "<Parameter name=\"hierarchy label\" type=\"string\" value=" << value << "/>"; return ss.str(); }
88 if (name == "aggregation: drop tol") { ss << "<Parameter name=\"aggregation: drop tol\" type=\"double\" value=" << value << "/>"; return ss.str(); }
89 if (name == "print initial parameters") { ss << "<Parameter name=\"print initial parameters\" type=\"bool\" value=" << value << "/>"; return ss.str(); }
90 if (name == "print unused parameters") { ss << "<Parameter name=\"print unused parameters\" type=\"bool\" value=" << value << "/>"; return ss.str(); }
91 if (name == "sa: damping factor") { ss << "<Parameter name=\"sa: damping factor\" type=\"double\" value=" << value << "/>"; return ss.str(); }
92 if (name == "sa: use filtered matrix") { ss << "<Parameter name=\"sa: use filtered matrix\" type=\"bool\" value=" << value << "/>"; return ss.str(); }
93 if (name == "sa: eigen-analysis type") { ss << "<Parameter name=\"sa: eigen-analysis type\" type=\"string\" value=" << value << "/>"; return ss.str(); }
94 if (name == "sa: eigenvalue estimate num iterations") { ss << "<Parameter name=\"sa: eigenvalue estimate num iterations\" type=\"int\" value=" << value << "/>"; return ss.str(); }
95 if (name == "sa: use rowsumabs diagonal scaling") { ss << "<Parameter name=\"sa: use rowsumabs diagonal scaling\" type=\"bool\" value=" << value << "/>"; return ss.str(); }
96 if (name == "sa: enforce constraints") { ss << "<Parameter name=\"sa: enforce constraints\" type=\"bool\" value=" << value << "/>"; return ss.str(); }
97 if (name == "sa: max eigenvalue") { ss << "<Parameter name=\"sa: max eigenvalue\" type=\"double\" value=" << value << "/>"; return ss.str(); }
98 if (name == "sa: rowsumabs diagonal replacement tolerance") { ss << "<Parameter name=\"sa: rowsumabs diagonal replacement tolerance\" type=\"double\" value=" << value << "/>"; return ss.str(); }
99 if (name == "sa: rowsumabs use automatic diagonal tolerance") { ss << "<Parameter name=\"sa: rowsumabs use automatic diagonal tolerance\" type=\"bool\" value=" << value << "/>"; return ss.str(); }
100 if (name == "sa: rowsumabs diagonal replacement value") { ss << "<Parameter name=\"sa: rowsumabs diagonal replacement value\" type=\"double\" value=" << value << "/>"; return ss.str(); }
101 if (name == "sa: rowsumabs replace single entry row with zero") { ss << "<Parameter name=\"sa: rowsumabs replace single entry row with zero\" type=\"bool\" value=" << value << "/>"; return ss.str(); }
102 if (name == "replicate: npdes") { ss << "<Parameter name=\"replicate: npdes\" type=\"int\" value=" << value << "/>"; return ss.str(); }
103 if (name == "combine: numBlks") { ss << "<Parameter name=\"combine: numBlks\" type=\"int\" value=" << value << "/>"; return ss.str(); }
104 if (name == "combine: useMaxLevels") { ss << "<Parameter name=\"combine: useMaxLevels\" type=\"bool\" value=" << value << "/>"; return ss.str(); }
105 if (name == "pcoarsen: element") { ss << "<Parameter name=\"pcoarsen: element\" type=\"string\" value=" << value << "/>"; return ss.str(); }
106 if (name == "pcoarsen: schedule") { ss << "<Parameter name=\"pcoarsen: schedule\" type=\"string\" value=" << value << "/>"; return ss.str(); }
107 if (name == "pcoarsen: hi basis") { ss << "<Parameter name=\"pcoarsen: hi basis\" type=\"string\" value=" << value << "/>"; return ss.str(); }
108 if (name == "pcoarsen: lo basis") { ss << "<Parameter name=\"pcoarsen: lo basis\" type=\"string\" value=" << value << "/>"; return ss.str(); }
109 if (name == "smoother: neighborhood type") { ss << "<Parameter name=\"smoother: neighborhood type\" type=\"string\" value=" << value << "/>"; return ss.str(); }
110 if (name == "tentative: calculate qr") { ss << "<Parameter name=\"tentative: calculate qr\" type=\"bool\" value=" << value << "/>"; return ss.str(); }
111 if (name == "tentative: constant column sums") { ss << "<Parameter name=\"tentative: constant column sums\" type=\"bool\" value=" << value << "/>"; return ss.str(); }
112 if (name == "repartition: enable") { ss << "<Parameter name=\"repartition: enable\" type=\"bool\" value=" << value << "/>"; return ss.str(); }
113 if (name == "repartition: start level") { ss << "<Parameter name=\"repartition: start level\" type=\"int\" value=" << value << "/>"; return ss.str(); }
114 if (name == "repartition: use map") { ss << "<Parameter name=\"repartition: use map\" type=\"bool\" value=" << value << "/>"; return ss.str(); }
115 if (name == "repartition: use subcommunicators in place") { ss << "<Parameter name=\"repartition: use subcommunicators in place\" type=\"bool\" value=" << value << "/>"; return ss.str(); }
116 if (name == "repartition: node repartition level") { ss << "<Parameter name=\"repartition: node repartition level\" type=\"int\" value=" << value << "/>"; return ss.str(); }
117 if (name == "repartition: node id") { ss << "<Parameter name=\"repartition: node id\" type=\"int\" value=" << value << "/>"; return ss.str(); }
118 if (name == "repartition: min rows per proc") { ss << "<Parameter name=\"repartition: min rows per proc\" type=\"int\" value=" << value << "/>"; return ss.str(); }
119 if (name == "repartition: max imbalance") { ss << "<Parameter name=\"repartition: max imbalance\" type=\"double\" value=" << value << "/>"; return ss.str(); }
120 if (name == "repartition: put on single proc") { ss << "<Parameter name=\"repartition: put on single proc\" type=\"int\" value=" << value << "/>"; return ss.str(); }
121 if (name == "use external multigrid package") { ss << "<Parameter name=\"use external multigrid package\" type=\"string\" value=" << value << "/>"; return ss.str(); }
122 if (name == "maxwell1: dump matrices") { ss << "<Parameter name=\"maxwell1: dump matrices\" type=\"bool\" value=" << value << "/>"; return ss.str(); }
123 if (name == "maxwell1: check and fix D0 scaling") { ss << "<Parameter name=\"maxwell1: check and fix D0 scaling\" type=\"bool\" value=" << value << "/>"; return ss.str(); }
124 if (name == "refmaxwell: mode") { ss << "<Parameter name=\"refmaxwell: mode\" type=\"string\" value=" << value << "/>"; return ss.str(); }
125 if (name == "refmaxwell: disable addon") { ss << "<Parameter name=\"refmaxwell: disable addon\" type=\"bool\" value=" << value << "/>"; return ss.str(); }
126 if (name == "refmaxwell: use as preconditioner") { ss << "<Parameter name=\"refmaxwell: use as preconditioner\" type=\"bool\" value=" << value << "/>"; return ss.str(); }
127 if (name == "refmaxwell: dump matrices") { ss << "<Parameter name=\"refmaxwell: dump matrices\" type=\"bool\" value=" << value << "/>"; return ss.str(); }
128 if (name == "refmaxwell: subsolves on subcommunicators") { ss << "<Parameter name=\"refmaxwell: subsolves on subcommunicators\" type=\"bool\" value=" << value << "/>"; return ss.str(); }
129 if (name == "refmaxwell: enable reuse") { ss << "<Parameter name=\"refmaxwell: enable reuse\" type=\"bool\" value=" << value << "/>"; return ss.str(); }
130 if (name == "refmaxwell: skip first (1,1) level") { ss << "<Parameter name=\"refmaxwell: skip first (1,1) level\" type=\"bool\" value=" << value << "/>"; return ss.str(); }
131 if (name == "refmaxwell: normalize nullspace") { ss << "<Parameter name=\"refmaxwell: normalize nullspace\" type=\"bool\" value=" << value << "/>"; return ss.str(); }
132 return "";
133 }
134
135 Teuchos::RCP<Teuchos::ParameterList> MasterList::masterList_ = Teuchos::null;
136 Teuchos::RCP<Teuchos::ParameterList> MasterList::problemSpecificList_ = Teuchos::null;
137 std::string MasterList::problemType_ = "unknown";
138 const std::string MasterList::stringList_ =
139"<ParameterList name=\"MueLu\">"
140 "<Parameter name=\"problem: type\" type=\"string\" value=\"unknown\"/>"
141 "<Parameter name=\"verbosity\" type=\"string\" value=\"high\"/>"
142 "<Parameter name=\"output filename\" type=\"string\" value=\"\"/>"
143 "<Parameter name=\"number of equations\" type=\"int\" value=\"1\"/>"
144 "<Parameter name=\"max levels\" type=\"int\" value=\"10\"/>"
145 "<Parameter name=\"cycle type\" type=\"string\" value=\"V\"/>"
146 "<Parameter name=\"W cycle start level\" type=\"int\" value=\"0\"/>"
147 "<Parameter name=\"coarse grid correction scaling factor\" type=\"double\" value=\"1.0\"/>"
148 "<Parameter name=\"fuse prolongation and update\" type=\"bool\" value=\"true\"/>"
149 "<Parameter name=\"number of vectors\" type=\"int\" value=\"1\"/>"
150 "<Parameter name=\"problem: symmetric\" type=\"bool\" value=\"true\"/>"
151 "<Parameter name=\"xml parameter file\" type=\"string\" value=\"\"/>"
152 "<Parameter name=\"parameterlist: syntax\" type=\"string\" value=\"muelu\"/>"
153 "<Parameter name=\"hierarchy label\" type=\"string\" value=\"\"/>"
154 "<ParameterList name=\"matvec params\"/>"
155 "<Parameter name=\"half precision\" type=\"bool\" value=\"false\"/>"
156 "<Parameter name=\"smoother: pre or post\" type=\"string\" value=\"both\"/>"
157 "<Parameter name=\"smoother: type\" type=\"string\" value=\"RELAXATION\"/>"
158 "<Parameter name=\"smoother: pre type\" type=\"string\" value=\"RELAXATION\"/>"
159 "<Parameter name=\"smoother: post type\" type=\"string\" value=\"RELAXATION\"/>"
160 "<ParameterList name=\"smoother: params\"/>"
161 "<ParameterList name=\"smoother: pre params\"/>"
162 "<ParameterList name=\"smoother: post params\"/>"
163 "<Parameter name=\"smoother: overlap\" type=\"int\" value=\"0\"/>"
164 "<Parameter name=\"smoother: pre overlap\" type=\"int\" value=\"0\"/>"
165 "<Parameter name=\"smoother: post overlap\" type=\"int\" value=\"0\"/>"
166 "<Parameter name=\"coarse: max size\" type=\"int\" value=\"2000\"/>"
167 "<Parameter name=\"coarse: type\" type=\"string\" value=\"KLU\"/>"
168 "<ParameterList name=\"coarse: params\"/>"
169 "<Parameter name=\"coarse: overlap\" type=\"int\" value=\"0\"/>"
170 "<Parameter name=\"aggregation: backend\" type=\"string\" value=\"default\"/>"
171 "<Parameter name=\"aggregation: type\" type=\"string\" value=\"uncoupled\"/>"
172 "<Parameter name=\"aggregation: mode\" type=\"string\" value=\"uncoupled\"/>"
173 "<Parameter name=\"aggregation: ordering\" type=\"string\" value=\"natural\"/>"
174 "<Parameter name=\"aggregation: phase 1 algorithm\" type=\"string\" value=\"Distance2\"/>"
175 "<Parameter name=\"aggregation: symmetrize graph after dropping\" type=\"bool\" value=\"false\"/>"
176 "<Parameter name=\"aggregation: use blocking\" type=\"bool\" value=\"false\"/>"
177 "<Parameter name=\"aggregation: drop scheme\" type=\"string\" value=\"classical\"/>"
178 "<Parameter name=\"aggregation: strength-of-connection: matrix\" type=\"string\" value=\"A\"/>"
179 "<Parameter name=\"aggregation: strength-of-connection: measure\" type=\"string\" value=\"smoothed aggregation\"/>"
180 "<Parameter name=\"aggregation: classical scheme\" type=\"string\" value=\"direct\"/>"
181 "<Parameter name=\"aggregation: row sum drop tol\" type=\"double\" value=\"-1.0\"/>"
182 "<Parameter name=\"aggregation: block diagonal: interleaved blocksize\" type=\"int\" value=\"3\"/>"
183 "<Parameter name=\"aggregation: number of random vectors\" type=\"int\" value=\"10\"/>"
184 "<Parameter name=\"aggregation: number of times to pre or post smooth\" type=\"int\" value=\"10\"/>"
185 "<Parameter name=\"aggregation: penalty parameters\" type=\"Array(double)\" value=\"{12.,-.2,0,0,0} \"/>"
186 "<Parameter name=\"aggregation: distance laplacian directional weights\" type=\"Array(double)\" value=\"{1,1,1}\"/>"
187 "<Parameter name=\"aggregation: distance laplacian algo\" type=\"string\" value=\"default\"/>"
188 "<Parameter name=\"aggregation: distance laplacian metric\" type=\"string\" value=\"unweighted\"/>"
189 "<Parameter name=\"aggregation: classical algo\" type=\"string\" value=\"default\"/>"
190 "<Parameter name=\"aggregation: drop tol\" type=\"double\" value=\"0.0\"/>"
191 "<Parameter name=\"aggregation: use ml scaling of drop tol\" type=\"bool\" value=\"false\"/>"
192 "<Parameter name=\"aggregation: min agg size\" type=\"int\" value=\"2\"/>"
193 "<Parameter name=\"aggregation: max agg size\" type=\"int\" value=\"-1\"/>"
194 "<Parameter name=\"aggregation: compute aggregate qualities\" type=\"bool\" value=\"false\"/>"
195 "<Parameter name=\"aggregation: brick x size\" type=\"int\" value=\"2\"/>"
196 "<Parameter name=\"aggregation: brick y size\" type=\"int\" value=\"2\"/>"
197 "<Parameter name=\"aggregation: brick z size\" type=\"int\" value=\"2\"/>"
198 "<Parameter name=\"aggregation: brick x Dirichlet\" type=\"bool\" value=\"false\"/>"
199 "<Parameter name=\"aggregation: brick y Dirichlet\" type=\"bool\" value=\"false\"/>"
200 "<Parameter name=\"aggregation: brick z Dirichlet\" type=\"bool\" value=\"false\"/>"
201 "<Parameter name=\"aggregation: max selected neighbors\" type=\"int\" value=\"0\"/>"
202 "<Parameter name=\"aggregation: Dirichlet threshold\" type=\"double\" value=\"0.0\"/>"
203 "<Parameter name=\"aggregation: greedy Dirichlet\" type=\"bool\" value=\"false\"/>"
204 "<Parameter name=\"aggregation: deterministic\" type=\"bool\" value=\"false\"/>"
205 "<Parameter name=\"aggregation: coloring algorithm\" type=\"string\" value=\"serial\"/>"
206 "<Parameter name=\"aggregation: coloring: use color graph\" type=\"bool\" value=\"false\"/>"
207 "<Parameter name=\"aggregation: coloring: localize color graph\" type=\"bool\" value=\"true\"/>"
208 "<Parameter name=\"aggregation: enable phase 1\" type=\"bool\" value=\"true\"/>"
209 "<Parameter name=\"aggregation: enable phase 2a\" type=\"bool\" value=\"true\"/>"
210 "<Parameter name=\"aggregation: enable phase 2b\" type=\"bool\" value=\"true\"/>"
211 "<Parameter name=\"aggregation: enable phase 3\" type=\"bool\" value=\"true\"/>"
212 "<Parameter name=\"aggregation: match ML phase1\" type=\"bool\" value=\"false\"/>"
213 "<Parameter name=\"aggregation: match ML phase2a\" type=\"bool\" value=\"false\"/>"
214 "<Parameter name=\"aggregation: match ML phase2b\" type=\"bool\" value=\"false\"/>"
215 "<Parameter name=\"aggregation: phase2a agg factor\" type=\"double\" value=\"0.5\"/>"
216 "<Parameter name=\"aggregation: error on nodes with no on-rank neighbors\" type=\"bool\" value=\"false\"/>"
217 "<Parameter name=\"aggregation: phase3 avoid singletons\" type=\"bool\" value=\"false\"/>"
218 "<Parameter name=\"aggregation: allow empty prolongator columns\" type=\"bool\" value=\"false\"/>"
219 "<Parameter name=\"aggregation: preserve Dirichlet points\" type=\"bool\" value=\"false\"/>"
220 "<Parameter name=\"aggregation: dropping may create Dirichlet\" type=\"bool\" value=\"true\"/>"
221 "<Parameter name=\"aggregation: allow user-specified singletons\" type=\"bool\" value=\"false\"/>"
222 "<Parameter name=\"aggregation: use interface aggregation\" type=\"bool\" value=\"false\"/>"
223 "<Parameter name=\"aggregation: export visualization data\" type=\"bool\" value=\"false\"/>"
224 "<Parameter name=\"aggregation: output filename\" type=\"string\" value=\"\"/>"
225 "<Parameter name=\"aggregation: output file: time step\" type=\"int\" value=\"0\"/>"
226 "<Parameter name=\"aggregation: output file: iter\" type=\"int\" value=\"0\"/>"
227 "<Parameter name=\"aggregation: output file: agg style\" type=\"string\" value=\"Point Cloud\"/>"
228 "<Parameter name=\"aggregation: output file: fine graph edges\" type=\"bool\" value=\"false\"/>"
229 "<Parameter name=\"aggregation: output file: coarse graph edges\" type=\"bool\" value=\"false\"/>"
230 "<Parameter name=\"aggregation: output file: build colormap\" type=\"bool\" value=\"false\"/>"
231 "<Parameter name=\"aggregation: output file: aggregate qualities\" type=\"bool\" value=\"false\"/>"
232 "<Parameter name=\"aggregation: output file: material\" type=\"bool\" value=\"false\"/>"
233 "<ParameterList name=\"aggregation: params\"/>"
234 "<ParameterList name=\"strength-of-connection: params\"/>"
235 "<Parameter name=\"aggregation: mesh layout\" type=\"string\" value=\"Global Lexicographic\"/>"
236 "<Parameter name=\"aggregation: output type\" type=\"string\" value=\"Aggregates\"/>"
237 "<Parameter name=\"aggregation: coarsening rate\" type=\"string\" value=\"{3}\"/>"
238 "<Parameter name=\"aggregation: number of spatial dimensions\" type=\"int\" value=\"3\"/>"
239 "<Parameter name=\"aggregation: coarsening order\" type=\"int\" value=\"0\"/>"
240 "<Parameter name=\"aggregation: pairwise: size\" type=\"int\" value=\"8\"/>"
241 "<Parameter name=\"aggregation: pairwise: tie threshold\" type=\"double\" value=\"1e-6\"/>"
242 "<Parameter name=\"aggregate qualities: check symmetry\" type=\"bool\" value=\"false\"/>"
243 "<Parameter name=\"aggregate qualities: good aggregate threshold\" type=\"double\" value=\"100.0\"/>"
244 "<Parameter name=\"aggregate qualities: file output\" type=\"bool\" value=\"false\"/>"
245 "<Parameter name=\"aggregate qualities: file base\" type=\"string\" value=\"agg_qualities\"/>"
246 "<Parameter name=\"aggregate qualities: algorithm\" type=\"string\" value=\"forward\"/>"
247 "<Parameter name=\"aggregate qualities: zero threshold\" type=\"double\" value=\"1e-12\"/>"
248 "<Parameter name=\"aggregate qualities: percentiles\" type=\"Array(double)\" value=\"{}\"/>"
249 "<Parameter name=\"aggregate qualities: mode\" type=\"string\" value=\"eigenvalue\"/>"
250 "<ParameterList name=\"export data\"/>"
251 "<Parameter name=\"keep data\" type=\"string\" value=\"{}\"/>"
252 "<Parameter name=\"print initial parameters\" type=\"bool\" value=\"true\"/>"
253 "<Parameter name=\"print unused parameters\" type=\"bool\" value=\"true\"/>"
254 "<Parameter name=\"transpose: use implicit\" type=\"bool\" value=\"false\"/>"
255 "<Parameter name=\"transfers: half precision\" type=\"bool\" value=\"false\"/>"
256 "<Parameter name=\"nullspace: calculate rotations\" type=\"bool\" value=\"false\"/>"
257 "<Parameter name=\"nullspace: suppress dimension check\" type=\"bool\" value=\"false\"/>"
258 "<Parameter name=\"restriction: scale nullspace\" type=\"bool\" value=\"false\"/>"
259 "<Parameter name=\"use kokkos refactor\" type=\"bool\" value=\"false\"/>"
260 "<Parameter name=\"synchronize factory timers\" type=\"bool\" value=\"false\"/>"
261 "<Parameter name=\"rap: triple product\" type=\"bool\" value=\"false\"/>"
262 "<Parameter name=\"multigrid algorithm\" type=\"string\" value=\"sa\"/>"
263 "<Parameter name=\"toggle: mode\" type=\"string\" value=\"semicoarsen\"/>"
264 "<Parameter name=\"semicoarsen: coarsen rate\" type=\"int\" value=\"3\"/>"
265 "<Parameter name=\"semicoarsen: piecewise constant\" type=\"bool\" value=\"false\"/>"
266 "<Parameter name=\"semicoarsen: piecewise linear\" type=\"bool\" value=\"false\"/>"
267 "<Parameter name=\"semicoarsen: calculate nonsym restriction\" type=\"bool\" value=\"false\"/>"
268 "<Parameter name=\"semicoarsen: number of levels\" type=\"int\" value=\"0\"/>"
269 "<Parameter name=\"linedetection: orientation\" type=\"string\" value=\"vertical\"/>"
270 "<Parameter name=\"linedetection: num layers\" type=\"int\" value=\"-1\"/>"
271 "<Parameter name=\"sa: damping factor\" type=\"double\" value=\"1.33\"/>"
272 "<Parameter name=\"sa: use filtered matrix\" type=\"bool\" value=\"true\"/>"
273 "<Parameter name=\"sa: calculate eigenvalue estimate\" type=\"bool\" value=\"false\"/>"
274 "<Parameter name=\"sa: eigen-analysis type\" type=\"string\" value=\"power-method\"/>"
275 "<Parameter name=\"sa: eigenvalue estimate num iterations\" type=\"int\" value=\"10\"/>"
276 "<Parameter name=\"sa: use rowsumabs diagonal scaling\" type=\"bool\" value=\"false\"/>"
277 "<Parameter name=\"sa: enforce constraints\" type=\"bool\" value=\"false\"/>"
278 "<Parameter name=\"sa: max eigenvalue\" type=\"double\" value=\"-1.0\"/>"
279 "<Parameter name=\"sa: rowsumabs diagonal replacement tolerance\" type=\"double\" value=\"-1.0\"/>"
280 "<Parameter name=\"sa: rowsumabs use automatic diagonal tolerance\" type=\"bool\" value=\"false\"/>"
281 "<Parameter name=\"sa: rowsumabs diagonal replacement value\" type=\"double\" value=\"0.0\"/>"
282 "<Parameter name=\"sa: rowsumabs replace single entry row with zero\" type=\"bool\" value=\"true\"/>"
283 "<Parameter name=\"replicate: npdes\" type=\"int\" value=\"1\"/>"
284 "<Parameter name=\"combine: numBlks\" type=\"int\" value=\"1\"/>"
285 "<Parameter name=\"combine: useMaxLevels\" type=\"bool\" value=\"false\"/>"
286 "<Parameter name=\"interp: build coarse coordinates\" type=\"bool\" value=\"true\"/>"
287 "<ParameterList name=\"transfer: params\"/>"
288 "<Parameter name=\"pcoarsen: element\" type=\"string\" value=\"\"/>"
289 "<Parameter name=\"pcoarsen: schedule\" type=\"string\" value=\"\"/>"
290 "<Parameter name=\"pcoarsen: hi basis\" type=\"string\" value=\"\"/>"
291 "<Parameter name=\"pcoarsen: lo basis\" type=\"string\" value=\"\"/>"
292 "<Parameter name=\"smoother: neighborhood type\" type=\"string\" value=\"\"/>"
293 "<Parameter name=\"filtered matrix: use lumping\" type=\"bool\" value=\"true\"/>"
294 "<Parameter name=\"filtered matrix: lumping choice\" type=\"string\" value=\"diag lumping\"/>"
295 "<Parameter name=\"filtered matrix: use spread lumping\" type=\"bool\" value=\"false\"/>"
296 "<Parameter name=\"filtered matrix: spread lumping diag dom growth factor\" type=\"double\" value=\"1.1\"/>"
297 "<Parameter name=\"filtered matrix: spread lumping diag dom cap\" type=\"double\" value=\"2.0\"/>"
298 "<Parameter name=\"filtered matrix: use root stencil\" type=\"bool\" value=\"false\"/>"
299 "<Parameter name=\"filtered matrix: Dirichlet threshold\" type=\"double\" value=\"-1.0\"/>"
300 "<Parameter name=\"filtered matrix: reuse eigenvalue\" type=\"bool\" value=\"true\"/>"
301 "<Parameter name=\"filtered matrix: reuse graph\" type=\"bool\" value=\"true\"/>"
302 "<Parameter name=\"filtered matrix: count negative diagonals\" type=\"bool\" value=\"false\"/>"
303 "<Parameter name=\"matrix: compute analysis\" type=\"bool\" value=\"false\"/>"
304 "<Parameter name=\"emin: iterative method\" type=\"string\" value=\"cg\"/>"
305 "<Parameter name=\"emin: num iterations\" type=\"int\" value=\"2\"/>"
306 "<Parameter name=\"emin: num reuse iterations\" type=\"int\" value=\"1\"/>"
307 "<Parameter name=\"emin: pattern\" type=\"string\" value=\"AkPtent\"/>"
308 "<Parameter name=\"emin: pattern order\" type=\"int\" value=\"1\"/>"
309 "<Parameter name=\"emin: use filtered matrix\" type=\"bool\" value=\"true\"/>"
310 "<Parameter name=\"emin: constraint type\" type=\"string\" value=\"nullspace\"/>"
311 "<Parameter name=\"emin: least squares solver type\" type=\"string\" value=\"direct\"/>"
312 "<Parameter name=\"tentative: calculate qr\" type=\"bool\" value=\"true\"/>"
313 "<Parameter name=\"tentative: constant column sums\" type=\"bool\" value=\"false\"/>"
314 "<Parameter name=\"tentative: build coarse coordinates\" type=\"bool\" value=\"true\"/>"
315 "<Parameter name=\"repartition: enable\" type=\"bool\" value=\"false\"/>"
316 "<Parameter name=\"repartition: partitioner\" type=\"string\" value=\"zoltan2\"/>"
317 "<ParameterList name=\"repartition: params\"/>"
318 "<Parameter name=\"repartition: start level\" type=\"int\" value=\"2\"/>"
319 "<Parameter name=\"repartition: use map\" type=\"bool\" value=\"false\"/>"
320 "<Parameter name=\"repartition: use subcommunicators in place\" type=\"bool\" value=\"false\"/>"
321 "<Parameter name=\"repartition: node repartition level\" type=\"int\" value=\"-1\"/>"
322 "<Parameter name=\"repartition: node id\" type=\"int\" value=\"-1\"/>"
323 "<Parameter name=\"repartition: min rows per proc\" type=\"int\" value=\"800\"/>"
324 "<Parameter name=\"repartition: target rows per proc\" type=\"int\" value=\"0\"/>"
325 "<Parameter name=\"repartition: min rows per thread\" type=\"int\" value=\"0\"/>"
326 "<Parameter name=\"repartition: target rows per thread\" type=\"int\" value=\"0\"/>"
327 "<Parameter name=\"repartition: max imbalance\" type=\"double\" value=\"1.2\"/>"
328 "<Parameter name=\"repartition: remap parts\" type=\"bool\" value=\"true\"/>"
329 "<Parameter name=\"repartition: remap num values\" type=\"int\" value=\"4\"/>"
330 "<Parameter name=\"repartition: remap accept partition\" type=\"bool\" value=\"true\"/>"
331 "<Parameter name=\"repartition: print partition distribution\" type=\"bool\" value=\"false\"/>"
332 "<Parameter name=\"repartition: rebalance P and R\" type=\"bool\" value=\"false\"/>"
333 "<Parameter name=\"repartition: explicit via new copy rebalance P and R\" type=\"bool\" value=\"false\"/>"
334 "<Parameter name=\"repartition: rebalance Nullspace\" type=\"bool\" value=\"true\"/>"
335 "<Parameter name=\"repartition: use subcommunicators\" type=\"bool\" value=\"true\"/>"
336 "<Parameter name=\"repartition: save importer\" type=\"bool\" value=\"false\"/>"
337 "<Parameter name=\"repartition: put on single proc\" type=\"int\" value=\"0\"/>"
338 "<Parameter name=\"repartition: send type\" type=\"string\" value=\"\"/>"
339 "<Parameter name=\"rap: relative diagonal floor\" type=\"Array(double)\" value=\"{}\"/>"
340 "<Parameter name=\"rap: fix zero diagonals\" type=\"bool\" value=\"false\"/>"
341 "<Parameter name=\"rap: fix zero diagonals threshold\" type=\"double\" value=\"0.\"/>"
342 "<Parameter name=\"rap: fix zero diagonals replacement\" type=\"double\" value=\"1.\"/>"
343 "<Parameter name=\"rap: shift\" type=\"double\" value=\"0.0\"/>"
344 "<Parameter name=\"rap: shift diagonal M\" type=\"bool\" value=\"false\"/>"
345 "<Parameter name=\"rap: shift low storage\" type=\"bool\" value=\"false\"/>"
346 "<Parameter name=\"rap: shift array\" type=\"Array(double)\" value=\"{}\"/>"
347 "<Parameter name=\"rap: cfl array\" type=\"Array(double)\" value=\"{}\"/>"
348 "<Parameter name=\"rap: algorithm\" type=\"string\" value=\"galerkin\"/>"
349 "<ParameterList name=\"matrixmatrix: kernel params\"/>"
350 "<Parameter name=\"matrixmatrix: kernel params:MM_TAFC_OptimizationCoreCount \" type=\"int\" value=\"3000 \"/>"
351 "<Parameter name=\"isMatrixMatrix_TransferAndFillComplete \" type=\"bool\" value=\"false\"/>"
352 "<Parameter name=\"reuse: type\" type=\"string\" value=\"none\"/>"
353 "<Parameter name=\"use external multigrid package\" type=\"string\" value=\"none\"/>"
354 "<ParameterList name=\"amgx:params\"/>"
355 "<ParameterList name=\"kokkos tuning: muelu parameter mapping\"/>"
356 "<Parameter name=\"debug: graph level\" type=\"int\" value=\"-2\"/>"
357 "<Parameter name=\"maxwell1: mode\" type=\"string\" value=\"standard\"/>"
358 "<ParameterList name=\"maxwell1: 11list\"/>"
359 "<ParameterList name=\"maxwell1: 22list\"/>"
360 "<Parameter name=\"maxwell1: dump matrices\" type=\"bool\" value=\"false\"/>"
361 "<Parameter name=\"maxwell1: check and fix D0 scaling\" type=\"bool\" value=\"false\"/>"
362 "<Parameter name=\"maxwell1: nodal smoother fix zero diagonal threshold\" type=\"double\" value=\"1e-10\"/>"
363 "<Parameter name=\"refmaxwell: mode\" type=\"string\" value=\"additive\"/>"
364 "<Parameter name=\"refmaxwell: disable addon\" type=\"bool\" value=\"true\"/>"
365 "<ParameterList name=\"refmaxwell: 11list\"/>"
366 "<ParameterList name=\"refmaxwell: 22list\"/>"
367 "<Parameter name=\"refmaxwell: use as preconditioner\" type=\"bool\" value=\"false\"/>"
368 "<Parameter name=\"refmaxwell: dump matrices\" type=\"bool\" value=\"false\"/>"
369 "<Parameter name=\"refmaxwell: subsolves on subcommunicators\" type=\"bool\" value=\"false\"/>"
370 "<Parameter name=\"refmaxwell: enable reuse\" type=\"bool\" value=\"false\"/>"
371 "<Parameter name=\"refmaxwell: skip first (1,1) level\" type=\"bool\" value=\"true\"/>"
372 "<Parameter name=\"refmaxwell: normalize nullspace\" type=\"bool\" value=\"false\"/>"
373"</ParameterList>"
374;
376("Poisson-2D",
377
378 "<ParameterList name=\"MueLu\">"
379
380 "<Parameter name=\"number of equations\" type=\"int\" value=\"1\"/>"
381
382 "<Parameter name=\"smoother: type\" type=\"string\" value=\"CHEBYSHEV\"/>"
383
384 "<Parameter name=\"multigrid algorithm\" type=\"string\" value=\"sa\"/>"
385
386 "</ParameterList>"
387 )
388("Poisson-2D-complex",
389
390 "<ParameterList name=\"MueLu\">"
391
392 "<Parameter name=\"number of equations\" type=\"int\" value=\"1\"/>"
393
394 "<Parameter name=\"smoother: type\" type=\"string\" value=\"RELAXATION\"/>"
395
396 "<ParameterList name=\"smoother: params\">"
397
398 "<Parameter name=\"relaxation: type\" type=\"string\" value=\"Symmetric Gauss-Seidel\"/>"
399
400 "</ParameterList>"
401
402 "<Parameter name=\"multigrid algorithm\" type=\"string\" value=\"sa\"/>"
403
404 "</ParameterList>"
405 )
406("Poisson-3D",
407
408 "<ParameterList name=\"MueLu\">"
409
410 "<Parameter name=\"number of equations\" type=\"int\" value=\"1\"/>"
411
412 "<Parameter name=\"smoother: type\" type=\"string\" value=\"CHEBYSHEV\"/>"
413
414 "<Parameter name=\"multigrid algorithm\" type=\"string\" value=\"sa\"/>"
415
416 "</ParameterList>"
417 )
418("Poisson-3D-complex",
419
420 "<ParameterList name=\"MueLu\">"
421
422 "<Parameter name=\"number of equations\" type=\"int\" value=\"1\"/>"
423
424 "<Parameter name=\"smoother: type\" type=\"string\" value=\"RELAXATION\"/>"
425
426 "<ParameterList name=\"smoother: params\">"
427
428 "<Parameter name=\"relaxation: type\" type=\"string\" value=\"Symmetric Gauss-Seidel\"/>"
429
430 "</ParameterList>"
431
432 "<Parameter name=\"multigrid algorithm\" type=\"string\" value=\"sa\"/>"
433
434 "</ParameterList>"
435 )
436("Elasticity-2D",
437
438 "<ParameterList name=\"MueLu\">"
439
440 "<Parameter name=\"number of equations\" type=\"int\" value=\"2\"/>"
441
442 "<Parameter name=\"smoother: type\" type=\"string\" value=\"CHEBYSHEV\"/>"
443
444 "<Parameter name=\"multigrid algorithm\" type=\"string\" value=\"sa\"/>"
445
446 "</ParameterList>"
447 )
448("Elasticity-2D-complex",
449
450 "<ParameterList name=\"MueLu\">"
451
452 "<Parameter name=\"number of equations\" type=\"int\" value=\"2\"/>"
453
454 "<Parameter name=\"smoother: type\" type=\"string\" value=\"RELAXATION\"/>"
455
456 "<ParameterList name=\"smoother: params\">"
457
458 "<Parameter name=\"relaxation: type\" type=\"string\" value=\"Symmetric Gauss-Seidel\"/>"
459
460 "</ParameterList>"
461
462 "<Parameter name=\"multigrid algorithm\" type=\"string\" value=\"sa\"/>"
463
464 "</ParameterList>"
465 )
466("Elasticity-3D",
467
468 "<ParameterList name=\"MueLu\">"
469
470 "<Parameter name=\"number of equations\" type=\"int\" value=\"3\"/>"
471
472 "<Parameter name=\"smoother: type\" type=\"string\" value=\"CHEBYSHEV\"/>"
473
474 "<Parameter name=\"multigrid algorithm\" type=\"string\" value=\"sa\"/>"
475
476 "</ParameterList>"
477 )
478("Elasticity-3D-complex",
479
480 "<ParameterList name=\"MueLu\">"
481
482 "<Parameter name=\"number of equations\" type=\"int\" value=\"3\"/>"
483
484 "<Parameter name=\"smoother: type\" type=\"string\" value=\"RELAXATION\"/>"
485
486 "<ParameterList name=\"smoother: params\">"
487
488 "<Parameter name=\"relaxation: type\" type=\"string\" value=\"Symmetric Gauss-Seidel\"/>"
489
490 "</ParameterList>"
491
492 "<Parameter name=\"multigrid algorithm\" type=\"string\" value=\"sa\"/>"
493
494 "</ParameterList>"
495 )
496("MHD",
497
498 "<ParameterList name=\"MueLu\">"
499
500 "<Parameter name=\"smoother: type\" type=\"string\" value=\"SCHWARZ\"/>"
501
502 "<ParameterList name=\"smoother: params\">"
503
504 "<Parameter name=\"schwarz: overlap level\" type=\"int\" value=\"1\"/>"
505
506 "<Parameter name=\"schwarz: combine mode\" type=\"string\" value=\"Zero\"/>"
507
508 "<Parameter name=\"schwarz: use reordering\" type=\"bool\" value=\"false\"/>"
509
510 "<Parameter name=\"subdomain solver name\" type=\"string\" value=\"RILUK\"/>"
511
512 "<ParameterList name=\"subdomain solver parameters\">"
513
514 "<Parameter name=\"fact: iluk level-of-fill\" type=\"int\" value=\"0\"/>"
515
516 "<Parameter name=\"fact: absolute threshold\" type=\"double\" value=\"0.\"/>"
517
518 "<Parameter name=\"fact: relative threshold\" type=\"double\" value=\"1.\"/>"
519
520 "<Parameter name=\"fact: relax value\" type=\"double\" value=\"0.\"/>"
521
522 "</ParameterList>"
523
524 "</ParameterList>"
525
526 "<Parameter name=\"transpose: use implicit\" type=\"bool\" value=\"true\"/>"
527
528 "<Parameter name=\"multigrid algorithm\" type=\"string\" value=\"unsmoothed\"/>"
529
530 "</ParameterList>"
531 )
532("ConvectionDiffusion",
533
534 "<ParameterList name=\"MueLu\">"
535
536 "<Parameter name=\"problem: symmetric\" type=\"bool\" value=\"false\"/>"
537
538 "<Parameter name=\"smoother: type\" type=\"string\" value=\"RELAXATION\"/>"
539
540 "<ParameterList name=\"smoother: params\">"
541
542 "<Parameter name=\"relaxation: type\" type=\"string\" value=\"Gauss-Seidel\"/>"
543
544 "</ParameterList>"
545
546 "<Parameter name=\"multigrid algorithm\" type=\"string\" value=\"pg\"/>"
547
548 "<Parameter name=\"sa: use filtered matrix\" type=\"bool\" value=\"true\"/>"
549
550 "<Parameter name=\"emin: use filtered matrix\" type=\"bool\" value=\"true\"/>"
551
552 "</ParameterList>"
553 )
554;
556
557 ("default values","problem: type")
558
559 ("ML output","verbosity")
560
561 ("output filename","output filename")
562
563 ("PDE equations","number of equations")
564
565 ("max levels","max levels")
566
567 ("prec type","cycle type")
568
569 ("W cycle start level","W cycle start level")
570
571 ("coarse grid correction scaling factor","coarse grid correction scaling factor")
572
573 ("fuse prolongation and update","fuse prolongation and update")
574
575 ("number of vectors","number of vectors")
576
577 ("problem: symmetric","problem: symmetric")
578
579 ("xml parameter file","xml parameter file")
580
581 ("parameterlist: syntax","parameterlist: syntax")
582
583 ("ML label","hierarchy label")
584
585 ("matvec params","matvec params")
586
587 ("half precision","half precision")
588
589 ("smoother: pre or post","smoother: pre or post")
590
591 ("smoother: type","smoother: type")
592
593 ("smoother: pre type","smoother: pre type")
594
595 ("smoother: post type","smoother: post type")
596
597 ("smoother: params","smoother: params")
598
599 ("smoother: pre params","smoother: pre params")
600
601 ("smoother: post params","smoother: post params")
602
603 ("smoother: overlap","smoother: overlap")
604
605 ("smoother: pre overlap","smoother: pre overlap")
606
607 ("smoother: post overlap","smoother: post overlap")
608
609 ("max size","coarse: max size")
610
611 ("coarse: type","coarse: type")
612
613 ("coarse: params","coarse: params")
614
615 ("coarse: overlap","coarse: overlap")
616
617 ("aggregation: backend","aggregation: backend")
618
619 ("aggregation: type","aggregation: type")
620
621 ("aggregation: mode","aggregation: mode")
622
623 ("aggregation: ordering","aggregation: ordering")
624
625 ("aggregation: phase 1 algorithm","aggregation: phase 1 algorithm")
626
627 ("aggregation: symmetrize graph after dropping","aggregation: symmetrize graph after dropping")
628
629 ("aggregation: use blocking","aggregation: use blocking")
630
631 ("aggregation: drop scheme","aggregation: drop scheme")
632
633 ("aggregation: strength-of-connection: matrix","aggregation: strength-of-connection: matrix")
634
635 ("aggregation: strength-of-connection: measure","aggregation: strength-of-connection: measure")
636
637 ("aggregation: classical scheme","aggregation: classical scheme")
638
639 ("aggregation: row sum drop tol","aggregation: row sum drop tol")
640
641 ("aggregation: block diagonal: interleaved blocksize","aggregation: block diagonal: interleaved blocksize")
642
643 ("aggregation: number of random vectors","aggregation: number of random vectors")
644
645 ("aggregation: number of times to pre or post smooth","aggregation: number of times to pre or post smooth")
646
647 ("aggregation: penalty parameters","aggregation: penalty parameters")
648
649 ("aggregation: distance laplacian directional weights","aggregation: distance laplacian directional weights")
650
651 ("aggregation: distance laplacian algo","aggregation: distance laplacian algo")
652
653 ("aggregation: distance laplacian metric","aggregation: distance laplacian metric")
654
655 ("aggregation: classical algo","aggregation: classical algo")
656
657 ("aggregation: threshold","aggregation: drop tol")
658
659 ("aggregation: use ml scaling of drop tol","aggregation: use ml scaling of drop tol")
660
661 ("aggregation: min agg size","aggregation: min agg size")
662
663 ("aggregation: max agg size","aggregation: max agg size")
664
665 ("aggregation: compute aggregate qualities","aggregation: compute aggregate qualities")
666
667 ("aggregation: brick x size","aggregation: brick x size")
668
669 ("aggregation: brick y size","aggregation: brick y size")
670
671 ("aggregation: brick z size","aggregation: brick z size")
672
673 ("aggregation: brick x Dirichlet","aggregation: brick x Dirichlet")
674
675 ("aggregation: brick y Dirichlet","aggregation: brick y Dirichlet")
676
677 ("aggregation: brick z Dirichlet","aggregation: brick z Dirichlet")
678
679 ("aggregation: max selected neighbors","aggregation: max selected neighbors")
680
681 ("aggregation: Dirichlet threshold","aggregation: Dirichlet threshold")
682
683 ("aggregation: greedy Dirichlet","aggregation: greedy Dirichlet")
684
685 ("aggregation: deterministic","aggregation: deterministic")
686
687 ("aggregation: coloring algorithm","aggregation: coloring algorithm")
688
689 ("aggregation: coloring: use color graph","aggregation: coloring: use color graph")
690
691 ("aggregation: coloring: localize color graph","aggregation: coloring: localize color graph")
692
693 ("aggregation: enable phase 1","aggregation: enable phase 1")
694
695 ("aggregation: enable phase 2a","aggregation: enable phase 2a")
696
697 ("aggregation: enable phase 2b","aggregation: enable phase 2b")
698
699 ("aggregation: enable phase 3","aggregation: enable phase 3")
700
701 ("aggregation: match ML phase1","aggregation: match ML phase1")
702
703 ("aggregation: match ML phase2a","aggregation: match ML phase2a")
704
705 ("aggregation: match ML phase2b","aggregation: match ML phase2b")
706
707 ("aggregation: phase2a agg factor","aggregation: phase2a agg factor")
708
709 ("aggregation: error on nodes with no on-rank neighbors","aggregation: error on nodes with no on-rank neighbors")
710
711 ("aggregation: phase3 avoid singletons","aggregation: phase3 avoid singletons")
712
713 ("aggregation: allow empty prolongator columns","aggregation: allow empty prolongator columns")
714
715 ("aggregation: preserve Dirichlet points","aggregation: preserve Dirichlet points")
716
717 ("aggregation: dropping may create Dirichlet","aggregation: dropping may create Dirichlet")
718
719 ("aggregation: allow user-specified singletons","aggregation: allow user-specified singletons")
720
721 ("aggregation: use interface aggregation","aggregation: use interface aggregation")
722
723 ("aggregation: export visualization data","aggregation: export visualization data")
724
725 ("aggregation: output filename","aggregation: output filename")
726
727 ("aggregation: output file: time step","aggregation: output file: time step")
728
729 ("aggregation: output file: iter","aggregation: output file: iter")
730
731 ("aggregation: output file: agg style","aggregation: output file: agg style")
732
733 ("aggregation: output file: fine graph edges","aggregation: output file: fine graph edges")
734
735 ("aggregation: output file: coarse graph edges","aggregation: output file: coarse graph edges")
736
737 ("aggregation: output file: build colormap","aggregation: output file: build colormap")
738
739 ("aggregation: output file: aggregate qualities","aggregation: output file: aggregate qualities")
740
741 ("aggregation: output file: material","aggregation: output file: material")
742
743 ("aggregation: params","aggregation: params")
744
745 ("strength-of-connection: params","strength-of-connection: params")
746
747 ("aggregation: mesh layout","aggregation: mesh layout")
748
749 ("aggregation: output type","aggregation: output type")
750
751 ("aggregation: coarsening rate","aggregation: coarsening rate")
752
753 ("aggregation: number of spatial dimensions","aggregation: number of spatial dimensions")
754
755 ("aggregation: coarsening order","aggregation: coarsening order")
756
757 ("aggregation: pairwise: size","aggregation: pairwise: size")
758
759 ("aggregation: pairwise: tie threshold","aggregation: pairwise: tie threshold")
760
761 ("aggregate qualities: check symmetry","aggregate qualities: check symmetry")
762
763 ("aggregate qualities: good aggregate threshold","aggregate qualities: good aggregate threshold")
764
765 ("aggregate qualities: file output","aggregate qualities: file output")
766
767 ("aggregate qualities: file base","aggregate qualities: file base")
768
769 ("aggregate qualities: algorithm","aggregate qualities: algorithm")
770
771 ("aggregate qualities: zero threshold","aggregate qualities: zero threshold")
772
773 ("aggregate qualities: percentiles","aggregate qualities: percentiles")
774
775 ("aggregate qualities: mode","aggregate qualities: mode")
776
777 ("export data","export data")
778
779 ("keep data","keep data")
780
781 ("ML print initial list","print initial parameters")
782
783 ("print unused","print unused parameters")
784
785 ("transpose: use implicit","transpose: use implicit")
786
787 ("transfers: half precision","transfers: half precision")
788
789 ("nullspace: calculate rotations","nullspace: calculate rotations")
790
791 ("nullspace: suppress dimension check","nullspace: suppress dimension check")
792
793 ("restriction: scale nullspace","restriction: scale nullspace")
794
795 ("use kokkos refactor","use kokkos refactor")
796
797 ("synchronize factory timers","synchronize factory timers")
798
799 ("rap: triple product","rap: triple product")
800
801 ("energy minimization: enable","multigrid algorithm")
802
803 ("toggle: mode","toggle: mode")
804
805 ("semicoarsen: coarsen rate","semicoarsen: coarsen rate")
806
807 ("semicoarsen: piecewise constant","semicoarsen: piecewise constant")
808
809 ("semicoarsen: piecewise linear","semicoarsen: piecewise linear")
810
811 ("semicoarsen: calculate nonsym restriction","semicoarsen: calculate nonsym restriction")
812
813 ("semicoarsen: number of levels","semicoarsen: number of levels")
814
815 ("linedetection: orientation","linedetection: orientation")
816
817 ("linedetection: num layers","linedetection: num layers")
818
819 ("aggregation: damping factor","sa: damping factor")
820
821 ("aggregation aux: enable","sa: use filtered matrix")
822
823 ("sa: calculate eigenvalue estimate","sa: calculate eigenvalue estimate")
824
825 ("sa: eigen-analysis type","sa: eigen-analysis type")
826
827 ("eigen-analysis: iterations","sa: eigenvalue estimate num iterations")
828
829 ("not supported by ML","sa: use rowsumabs diagonal scaling")
830
831 ("not supported by ML","sa: enforce constraints")
832
833 ("not supported by ML","sa: max eigenvalue")
834
835 ("not supported by ML","sa: rowsumabs diagonal replacement tolerance")
836
837 ("not supported by ML","sa: rowsumabs use automatic diagonal tolerance")
838
839 ("not supported by ML","sa: rowsumabs diagonal replacement value")
840
841 ("not supported by ML","sa: rowsumabs replace single entry row with zero")
842
843 ("not supported by ML","replicate: npdes")
844
845 ("not supported by ML","combine: numBlks")
846
847 ("not supported by ML","combine: useMaxLevels")
848
849 ("interp: build coarse coordinates","interp: build coarse coordinates")
850
851 ("transfer: params","transfer: params")
852
853 ("pcoarsen: element","pcoarsen: element")
854
855 ("pcoarsen: schedule","pcoarsen: schedule")
856
857 ("pcoarsen: hi basis","pcoarsen: hi basis")
858
859 ("pcoarsen: lo basis","pcoarsen: lo basis")
860
861 ("smoother: neighborhood type","smoother: neighborhood type")
862
863 ("filtered matrix: use lumping","filtered matrix: use lumping")
864
865 ("filtered matrix: lumping choice","filtered matrix: lumping choice")
866
867 ("filtered matrix: use spread lumping","filtered matrix: use spread lumping")
868
869 ("filtered matrix: spread lumping diag dom growth factor","filtered matrix: spread lumping diag dom growth factor")
870
871 ("filtered matrix: spread lumping diag dom cap","filtered matrix: spread lumping diag dom cap")
872
873 ("filtered matrix: use root stencil","filtered matrix: use root stencil")
874
875 ("filtered matrix: Dirichlet threshold","filtered matrix: Dirichlet threshold")
876
877 ("filtered matrix: reuse eigenvalue","filtered matrix: reuse eigenvalue")
878
879 ("filtered matrix: reuse graph","filtered matrix: reuse graph")
880
881 ("filtered matrix: count negative diagonals","filtered matrix: count negative diagonals")
882
883 ("matrix: compute analysis","matrix: compute analysis")
884
885 ("emin: iterative method","emin: iterative method")
886
887 ("emin: num iterations","emin: num iterations")
888
889 ("emin: num reuse iterations","emin: num reuse iterations")
890
891 ("emin: pattern","emin: pattern")
892
893 ("emin: pattern order","emin: pattern order")
894
895 ("emin: use filtered matrix","emin: use filtered matrix")
896
897 ("emin: constraint type","emin: constraint type")
898
899 ("emin: least squares solver type","emin: least squares solver type")
900
901 ("tentative: calculate qr","tentative: calculate qr")
902
903 ("tentative: constant column sums","tentative: constant column sums")
904
905 ("tentative: build coarse coordinates","tentative: build coarse coordinates")
906
907 ("repartition: enable","repartition: enable")
908
909 ("repartition: partitioner","repartition: partitioner")
910
911 ("repartition: params","repartition: params")
912
913 ("repartition: start level","repartition: start level")
914
915 ("repartition: use map","repartition: use map")
916
917 ("repartition: use subcommunicators in place","repartition: use subcommunicators in place")
918
919 ("repartition: node repartition level","repartition: node repartition level")
920
921 ("repartition: node id","repartition: node id")
922
923 ("repartition: min per proc","repartition: min rows per proc")
924
925 ("repartition: target rows per proc","repartition: target rows per proc")
926
927 ("repartition: min rows per thread","repartition: min rows per thread")
928
929 ("repartition: target rows per thread","repartition: target rows per thread")
930
931 ("repartition: max min ratio","repartition: max imbalance")
932
933 ("repartition: remap parts","repartition: remap parts")
934
935 ("repartition: remap num values","repartition: remap num values")
936
937 ("repartition: remap accept partition","repartition: remap accept partition")
938
939 ("repartition: print partition distribution","repartition: print partition distribution")
940
941 ("repartition: rebalance P and R","repartition: rebalance P and R")
942
943 ("repartition: explicit via new copy rebalance P and R","repartition: explicit via new copy rebalance P and R")
944
945 ("repartition: rebalance Nullspace","repartition: rebalance Nullspace")
946
947 ("repartition: use subcommunicators","repartition: use subcommunicators")
948
949 ("repartition: save importer","repartition: save importer")
950
951 ("repartition: put on single proc","repartition: put on single proc")
952
953 ("repartition: send type","repartition: send type")
954
955 ("rap: relative diagonal floor","rap: relative diagonal floor")
956
957 ("rap: fix zero diagonals","rap: fix zero diagonals")
958
959 ("rap: fix zero diagonals threshold","rap: fix zero diagonals threshold")
960
961 ("rap: fix zero diagonals replacement","rap: fix zero diagonals replacement")
962
963 ("rap: shift","rap: shift")
964
965 ("rap: shift diagonal M","rap: shift diagonal M")
966
967 ("rap: shift low storage","rap: shift low storage")
968
969 ("rap: shift array","rap: shift array")
970
971 ("rap: cfl array","rap: cfl array")
972
973 ("rap: algorithm","rap: algorithm")
974
975 ("matrixmatrix: kernel params","matrixmatrix: kernel params")
976
977 ("matrixmatrix: kernel params:MM_TAFC_OptimizationCoreCount ","matrixmatrix: kernel params:MM_TAFC_OptimizationCoreCount ")
978
979 ("isMatrixMatrix_TransferAndFillComplete ","isMatrixMatrix_TransferAndFillComplete ")
980
981 ("reuse: type","reuse: type")
982
983 ("use external multigrid package","use external multigrid package")
984
985 ("amgx:params","amgx:params")
986
987 ("kokkos tuning: muelu parameter mapping","kokkos tuning: muelu parameter mapping")
988
989 ("debug: graph level","debug: graph level")
990
991 ("maxwell1: mode","maxwell1: mode")
992
993 ("maxwell1: 11list","maxwell1: 11list")
994
995 ("maxwell1: 22list","maxwell1: 22list")
996
997 ("maxwell1: dump matrices","maxwell1: dump matrices")
998
999 ("maxwell1: check and fix D0 scaling","maxwell1: check and fix D0 scaling")
1000
1001 ("maxwell1: nodal smoother fix zero diagonal threshold","maxwell1: nodal smoother fix zero diagonal threshold")
1002
1003 ("refmaxwell: mode","refmaxwell: mode")
1004
1005 ("refmaxwell: disable addon","refmaxwell: disable addon")
1006
1007 ("refmaxwell: 11list","refmaxwell: 11list")
1008
1009 ("refmaxwell: 22list","refmaxwell: 22list")
1010
1011 ("zero starting solution","refmaxwell: use as preconditioner")
1012
1013 ("refmaxwell: dump matrices","refmaxwell: dump matrices")
1014
1015 ("refmaxwell: subsolves on subcommunicators","refmaxwell: subsolves on subcommunicators")
1016
1017 ("refmaxwell: enable reuse","refmaxwell: enable reuse")
1018
1019 ("refmaxwell: skip first (1,1) level","refmaxwell: skip first (1,1) level")
1020
1021 ("refmaxwell: normalize nullspace","refmaxwell: normalize nullspace")
1022 ;
1023
1024}
1025
Helper class to initialize DefaultProblemTypeLists_ in class MasterList.
Exception throws to report errors in the internal logical of the program.
static std::string problemType_
The problem type associated with the current problem-specific ParameterList.
static Teuchos::RCP< Teuchos::ParameterList > GetProblemSpecificList(std::string const &problemType)
Return default parameter settings for the specified problem type.
static const std::string stringList_
String equivalent of the masterList_.
static Teuchos::RCP< Teuchos::ParameterList > masterList_
A ParameterList that holds all valid parameters and their default values.
static Teuchos::RCP< Teuchos::ParameterList > problemSpecificList_
A ParameterList that holds all valid parameters and their default values for a particular problem typ...
static Teuchos::RCP< const Teuchos::ParameterList > List()
Return a "master" list of all valid parameters and their default values.
static std::string interpretParameterName(const std::string &name, const std::string &value)
static std::map< std::string, std::string > DefaultProblemTypeLists_
Map of string equivalents of the problemSpecificList_. The first entry is the problem type,...
static std::map< std::string, std::string > ML2MueLuLists_
Map of ML parameter strings to corresponding MueLu parametes.
Namespace for MueLu classes and methods.