Ifpack Package Browser (Single Doxygen Collection) Development
Functions
helper Namespace Reference

Functions

template<typename T >
void 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.

Function Documentation

template<typename T >
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 42 of file ParameterHelper.hpp.

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines