43 #include "Ifpack_ValidParameters.h"
45 Teuchos::ParameterList Ifpack_GetValidParameters()
47 Teuchos::ParameterList List;
57 List.set(
"amesos: solver type",
"Amesos_Klu");
60 List.set(
"fact: level-of-fill", (
int)1);
61 List.set(
"fact: absolute threshold", (
double)0.0);
62 List.set(
"fact: relative threshold", (
double)0.0);
63 List.set(
"fact: drop tolerance", (
double)0.0);
66 List.set(
"fact: ict level-of-fill", (
double)1.0);
67 List.set(
"fact: absolute threshold", (
double)0.0);
68 List.set(
"fact: relative threshold", (
double)1.0);
69 List.set(
"fact: relax value", (
double)0.0);
70 List.set(
"fact: drop tolerance", (
double)0.0);
73 List.set(
"fact: level-of-fill", (
int)0);
74 List.set(
"fact: absolute threshold", (
double)0.0);
75 List.set(
"fact: relative threshold", (
double)1.0);
76 List.set(
"fact: relax value", (
double)0.0);
79 List.set(
"fact: ilut level-of-fill", (
double)1.0);
80 List.set(
"fact: absolute threshold", (
double)0.0);
81 List.set(
"fact: relative threshold", (
double)1.0);
82 List.set(
"fact: relax value", (
double)0.0);
84 #ifdef HAVE_IFPACK_SUPERLU
86 List.set(
"fact: drop tolerance",1e-4);
87 List.set(
"fact: zero pivot threshold",1e-2);
88 List.set(
"fact: maximum fill factor",10.0);
89 List.set(
"fact: silu drop rule",9);
93 List.set(
"partitioner: local parts", (
int)1);
94 List.set(
"partitioner: overlap", (
int)0);
95 List.set(
"partitioner: print level", (
int)0);
98 List.set(
"relaxation: type",
"Jacobi");
99 List.set(
"relaxation: sweeps", (
int)1);
100 List.set(
"relaxation: damping factor", (
double)1.0);
101 List.set(
"relaxation: min diagonal value", (
double)1.0);
102 List.set(
"relaxation: zero starting solution",
true);
103 List.set(
"relaxation: backward mode",
false);
104 List.set(
"relaxation: use l1",
false);
105 List.set(
"relaxation: l1 eta",(
double)1.5);
108 List.set(
"fact: sparskit: lfil", (
int)0);
109 List.set(
"fact: sparskit: tol", (
double)0.0);
110 List.set(
"fact: sparskit: droptol", (
double)0.0);
111 List.set(
"fact: sparskit: permtol", (
double)0.1);
112 List.set(
"fact: sparskit: alph", (
double)0.0);
113 List.set(
"fact: sparskit: mbloc", (
int)(-1));
114 List.set(
"fact: sparskit: type", (
"ILUT"));
117 List.set(
"schwarz: compute condest",
true);
118 List.set(
"schwarz: combine mode",
"Zero");
119 List.set(
"schwarz: reordering type",
"none");
120 List.set(
"schwarz: filter singletons",
false);
127 List.set(
"partitioner: type",
"greedy");
128 List.set(
"partitioner: local parts", (
int)1);
129 List.set(
"partitioner: overlap", (
int)0);
130 List.set(
"partitioner: keep singletons",
false);
133 List.set(
"partitioner: use symmetric graph",
true);
136 List.set(
"krylov: iterations",(
int)5);
137 List.set(
"krylov: tolerance",(
double)0.001);
138 List.set(
"krylov: solver",(
int)1);
139 List.set(
"krylov: preconditioner",(
int)0);
140 List.set(
"krylov: number of sweeps",(
int)1);
141 List.set(
"krylov: block size",(
int)1);
142 List.set(
"krylov: damping parameter",(
double)1.0);
143 List.set(
"krylov: zero starting solution",
true);
146 List.set(
"hypre: Solver",
"PCG");
147 List.set(
"hypre: Preconditioner",
"Euclid");
148 List.set(
"hypre: SolveOrPrecondition",
"Solver");
149 List.sublist(
"hypre: Solver functions").disableRecursiveValidation();
151 List.sublist(
"hypre: Preconditioner functions").disableRecursiveValidation();
152 List.sublist(
"Operators").disableRecursiveValidation();
153 List.sublist(
"Coordinates").disableRecursiveValidation();
154 List.set(
"hypre: Dump",
false);
155 List.set(
"hypre: SetPreconditioner",
false);
156 List.set(
"hypre: NumFunctions", 0);