46 #if defined(Ifpack_SHOW_DEPRECATED_WARNINGS)
48 #warning "The Ifpack package is deprecated"
53 #include "Ifpack_ConfigDefs.h"
54 #include "Ifpack_Preconditioner.h"
55 #include "Teuchos_iostream_helpers.hpp"
59 #include "Ifpack_Hypre.h"
150 ,POINT_RELAXATION_STAND_ALONE
152 ,BLOCK_RELAXATION_STAND_ALONE
153 ,BLOCK_RELAXATION_STAND_ALONE_ILU
154 ,BLOCK_RELAXATION_STAND_ALONE_ILUT
155 ,BLOCK_RELAXATION_STAND_ALONE_IC
156 #ifdef HAVE_IFPACK_SUPERLU
157 ,BLOCK_RELAXATION_STAND_ALONE_SILU
159 #ifdef HAVE_IFPACK_AMESOS
160 ,BLOCK_RELAXATION_STAND_ALONE_AMESOS
161 ,BLOCK_RELAXATION_AMESOS
164 #endif // HAVE_IFPACK_AMESOS
173 #ifdef HAVE_IFPACK_SPARSKIT
175 #endif // HAVE_IFPACK_SPARSKIT
176 #ifdef HAVE_IFPACK_HIPS
182 #ifdef HAVE_IFPACK_SUPERLU
185 #if defined (HAVE_IFPACK_SUPPORTGRAPH) && defined (HAVE_IFPACK_AMESOS)
188 #ifdef HAVE_IFPACK_SUPPORTGRAPH
197 ,TRIDI_RELAXATION_STAND_ALONE
203 #ifdef HAVE_IFPACK_AMESOS
207 #ifdef HAVE_IFPACK_SPARSKIT
210 #ifdef HAVE_IFPACK_HIPS
216 #ifdef HAVE_IFPACK_SUPERLU
219 #if defined (HAVE_IFPACK_SUPPORTGRAPH) && defined (HAVE_IFPACK_AMESOS)
222 #ifdef HAVE_IFPACK_SUPPORTGRAPH
272 const int overlap = 0,
273 bool overrideSerialDefault =
false);
283 Teuchos::ParameterList& List, std::string& PrecType,
static const int numPrecTypes
static const EPrecType precTypeValues[numPrecTypes]
List of the preconditioner types as enum values .
int SetParameters(int argc, char *argv[], Teuchos::ParameterList &List, std::string &PrecType, int &Overlap)
Sets the options in List from the command line.
EPrecType
Enum for the type of preconditioner.
static const char * toString(const EPrecType precType)
Function that gives the std::string name for preconditioner given its enumerication value...
static const char * precTypeNames[numPrecTypes]
List of preconditioner types as std::string values.
Ifpack_Preconditioner: basic class for preconditioning in Ifpack.
Ifpack: a function class to define Ifpack preconditioners.
static Ifpack_Preconditioner * Create(EPrecType PrecType, Epetra_RowMatrix *Matrix, const int overlap=0, bool overrideSerialDefault=false)
Creates an instance of Ifpack_Preconditioner given the enum value of the preconditioner type (can not...
static const bool supportsUnsymmetric[numPrecTypes]
List of bools that determines if the preconditioner type supports unsymmetric matrices.