Ifpack Package Browser (Single Doxygen Collection) Development
Loading...
Searching...
No Matches
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

◆ GetParameter()

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 55 of file AztecOO/ParameterHelper.hpp.