47 #include "Ifpack_ConfigDefs.h"
48 #include "Ifpack_Preconditioner.h"
49 #include "Teuchos_iostream_helpers.hpp"
53 #include "Ifpack_Hypre.h"
144 ,POINT_RELAXATION_STAND_ALONE
146 ,BLOCK_RELAXATION_STAND_ALONE
147 ,BLOCK_RELAXATION_STAND_ALONE_ILU
148 ,BLOCK_RELAXATION_STAND_ALONE_ILUT
149 ,BLOCK_RELAXATION_STAND_ALONE_IC
150 #ifdef HAVE_IFPACK_SUPERLU
151 ,BLOCK_RELAXATION_STAND_ALONE_SILU
153 #ifdef HAVE_IFPACK_AMESOS
154 ,BLOCK_RELAXATION_STAND_ALONE_AMESOS
155 ,BLOCK_RELAXATION_AMESOS
158 #endif // HAVE_IFPACK_AMESOS
167 #ifdef HAVE_IFPACK_SPARSKIT
169 #endif // HAVE_IFPACK_SPARSKIT
170 #ifdef HAVE_IFPACK_HIPS
176 #ifdef HAVE_IFPACK_SUPERLU
189 #ifdef HAVE_IFPACK_AMESOS
193 #ifdef HAVE_IFPACK_SPARSKIT
196 #ifdef HAVE_IFPACK_HIPS
202 #ifdef HAVE_IFPACK_SUPERLU
233 EPrecType PrecType, Epetra_RowMatrix* Matrix,
const int overlap = 0,
bool overrideSerialDefault =
false
251 Epetra_RowMatrix* Matrix,
252 const int overlap = 0,
253 bool overrideSerialDefault =
false);
263 Teuchos::ParameterList& List,
string& PrecType,
static const int numPrecTypes
static const EPrecType precTypeValues[numPrecTypes]
List of the preconditioner types as enum values .
EPrecType
Enum for the type of preconditioner.
static const char * toString(const EPrecType precType)
Function that gives the string name for preconditioner given its enumerication value.
int SetParameters(int argc, char *argv[], Teuchos::ParameterList &List, string &PrecType, int &Overlap)
Sets the options in List from the command line.
static const char * precTypeNames[numPrecTypes]
List of preconditioner types as 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.