47 #include "Teko_IdentityPreconditionerFactory.hpp"
49 #include "Thyra_DefaultIdentityLinearOp.hpp"
50 #include "Thyra_DefaultScaledAdjointLinearOp.hpp"
64 return Thyra::scale(
scaling_,Thyra::identity(rangeSpace(lo)));
70 Teko_DEBUG_SCOPE(
"IdentityPreconditionerFactory::initializeFromParameterList",10);
71 Teko_DEBUG_MSG_BEGIN(9);
72 DEBUG_STREAM <<
"Parameter list: " << std::endl;
73 pl.print(DEBUG_STREAM);
77 std::string scaleStr =
"Scaling";
78 if(pl.isParameter(scaleStr))
LinearOp buildPreconditionerOperator(LinearOp &lo, PreconditionerState &state) const
Create the Identity preconditioner operator.
IdentityPreconditionerFactory()
An implementation of a state object preconditioners.
virtual void initializeFromParameterList(const Teuchos::ParameterList &pl)
Initialize from a parameter list.
double scaling_
some members