00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027
00028
00029
00030 #include "Ifpack_ValidParameters.h"
00031
00032 Teuchos::ParameterList Ifpack_GetValidParameters()
00033 {
00034 Teuchos::ParameterList List;
00035
00036
00037
00038
00039
00040
00041
00042
00043
00044 List.set("amesos: solver type", "Amesos_Klu");
00045
00046
00047 List.set("fact: level-of-fill", (int)1);
00048 List.set("fact: absolute threshold", (double)0.0);
00049 List.set("fact: relative threshold", (double)0.0);
00050 List.set("fact: drop tolerance", (double)0.0);
00051
00052
00053 List.set("fact: ict level-of-fill", (double)1.0);
00054 List.set("fact: absolute threshold", (double)0.0);
00055 List.set("fact: relative threshold", (double)1.0);
00056 List.set("fact: relax value", (double)0.0);
00057 List.set("fact: drop tolerance", (double)0.0);
00058
00059
00060 List.set("fact: level-of-fill", (int)0);
00061 List.set("fact: absolute threshold", (double)0.0);
00062 List.set("fact: relative threshold", (double)1.0);
00063 List.set("fact: relax value", (double)0.0);
00064
00065
00066 List.set("fact: ilut level-of-fill", (double)1.0);
00067 List.set("fact: absolute threshold", (double)0.0);
00068 List.set("fact: relative threshold", (double)1.0);
00069 List.set("fact: relax value", (double)0.0);
00070
00071 #ifdef HAVE_IFPACK_SUPERLU
00072
00073 List.set("fact: drop tolerance",1e-4);
00074 List.set("fact: zero pivot threshold",1e-2);
00075 List.set("fact: maximum fill factor",10.0);
00076 List.set("fact: silu drop rule",9);
00077 #endif
00078
00079
00080 List.set("partitioner: local parts", (int)1);
00081 List.set("partitioner: overlap", (int)0);
00082 List.set("partitioner: print level", (int)0);
00083
00084
00085 List.set("relaxation: type", "Jacobi");
00086 List.set("relaxation: sweeps", (int)1);
00087 List.set("relaxation: damping factor", (double)1.0);
00088 List.set("relaxation: min diagonal value", (double)1.0);
00089 List.set("relaxation: zero starting solution", true);
00090 List.set("relaxation: backward mode",false);
00091 List.set("relaxation: use l1",false);
00092 List.set("relaxation: l1 eta",(double)1.5);
00093
00094
00095 List.set("fact: sparskit: lfil", (int)0);
00096 List.set("fact: sparskit: tol", (double)0.0);
00097 List.set("fact: sparskit: droptol", (double)0.0);
00098 List.set("fact: sparskit: permtol", (double)0.1);
00099 List.set("fact: sparskit: alph", (double)0.0);
00100 List.set("fact: sparskit: mbloc", (int)(-1));
00101 List.set("fact: sparskit: type", ("ILUT"));
00102
00103
00104 List.set("schwarz: compute condest", true);
00105 List.set("schwarz: combine mode", "Zero");
00106 List.set("schwarz: reordering type", "none");
00107 List.set("schwarz: filter singletons", false);
00108
00109
00110
00111
00112
00113
00114 List.set("partitioner: type", "greedy");
00115 List.set("partitioner: local parts", (int)1);
00116 List.set("partitioner: overlap", (int)0);
00117
00118
00119 List.set("partitioner: use symmetric graph", true);
00120
00121 return(List);
00122 }
00123