47#include "Teko_PreconditionerState.hpp"
49#include "Thyra_DefaultPreconditioner.hpp"
66 paramList_ = Teuchos::rcp(
new Teuchos::ParameterList());
74 RCP<Teuchos::ParameterList> paramList =
paramList_;
83 linearOps_.insert(ps.linearOps_.begin(),ps.linearOps_.end());
86 Teuchos::ParameterList::ConstIterator itr;
87 if(ps.paramList_!=Teuchos::null) {
89 for(itr=ps.paramList_->begin();itr!=ps.paramList_->end();++itr)
90 paramList->setEntry(itr->first,itr->second);
An implementation of a state object preconditioners.
Teuchos::RCP< Teuchos::ParameterList > unsetParameterList()
Unset the parameter list that was set using setParameterList().
void setParameterList(const Teuchos::RCP< Teuchos::ParameterList > ¶mList)
Set parameters from a parameter list and return with default values.
unsigned int getTag() const
Get the tag for this operator.
void setTag(unsigned int tag)
Set the tag for this operator.
Teuchos::RCP< Teuchos::ParameterList > getNonconstParameterList()
Get the parameter list that was set using setParameterList().
virtual void merge(const PreconditionerState &ps, int position=-1)
Merge internal storage of another PreconditionerState object into this one.
Teuchos::RCP< Teuchos::ParameterList > paramList_
for ParameterListAcceptor