43 #ifndef IFPACK2_PARAMETERS_HPP 44 #define IFPACK2_PARAMETERS_HPP 46 #include "Ifpack2_ConfigDefs.hpp" 62 if (params.
isType<T>(name)) {
63 value = params.
get<T>(name);
T & get(const std::string &name, T def_value)
void getParameter(const Teuchos::ParameterList ¶ms, const std::string &name, T &value)
Set a value from a ParameterList if a parameter with the specified name exists.
Definition: Ifpack2_Parameters.hpp:59
bool isType(const std::string &name) const
bool isParameter(const std::string &name) const
Preconditioners and smoothers for Tpetra sparse matrices.
Definition: Ifpack2_AdditiveSchwarz_decl.hpp:72
void getValidParameters(Teuchos::ParameterList ¶ms)
Fills a list which contains all the parameters possibly used by Ifpack2.
Definition: Ifpack2_Parameters.cpp:50