49 #include "Teuchos_iostream_helpers.hpp" 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 179 #if defined (HAVE_IFPACK_SUPPORTGRAPH) && defined (HAVE_IFPACK_AMESOS) 182 #ifdef HAVE_IFPACK_SUPPORTGRAPH 197 #ifdef HAVE_IFPACK_AMESOS 201 #ifdef HAVE_IFPACK_SPARSKIT 204 #ifdef HAVE_IFPACK_HIPS 210 #ifdef HAVE_IFPACK_SUPERLU 213 #if defined (HAVE_IFPACK_SUPPORTGRAPH) && defined (HAVE_IFPACK_AMESOS) 216 #ifdef HAVE_IFPACK_SUPPORTGRAPH 247 EPrecType PrecType, Epetra_RowMatrix* Matrix,
const int overlap = 0,
bool overrideSerialDefault =
false 265 Epetra_RowMatrix* Matrix,
266 const int overlap = 0,
267 bool overrideSerialDefault =
false);
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...
#define TEUCHOS_ENUM_INPUT_STREAM_OPERATOR(ENUMTYPE)
static const char * precTypeNames[numPrecTypes]
List of preconditioner types as std::string values.
Ifpack_Preconditioner: basic class for preconditioning in Ifpack.
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.