10 #ifndef IFPACK2_PARAMETERS_HPP
11 #define IFPACK2_PARAMETERS_HPP
13 #include "Ifpack2_ConfigDefs.hpp"
29 if (params.
isType<T>(name)) {
30 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:26
bool isParameter(const std::string &name) const
bool isType(const std::string &name) const
void getValidParameters(Teuchos::ParameterList ¶ms)
Fills a list which contains all the parameters possibly used by Ifpack2.
Definition: Ifpack2_Parameters.cpp:18