Ifpack Package Browser (Single Doxygen Collection)
Development
|
Functions | |
template<typename T > | |
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. More... | |
void helper::GetParameter | ( | const Teuchos::ParameterList & | params, |
const std::string & | name, | ||
T & | value | ||
) |
Set a value from a ParameterList if a parameter with the specified name exists.
If the specified name does not name a parameter in the list, then 'value' is not referenced.
Definition at line 55 of file ParameterHelper.hpp.