10 #include "Teko_IdentityPreconditionerFactory.hpp"
12 #include "Thyra_DefaultIdentityLinearOp.hpp"
13 #include "Thyra_DefaultScaledAdjointLinearOp.hpp"
25 return Thyra::scale(
scaling_, Thyra::identity(rangeSpace(lo)));
30 Teko_DEBUG_SCOPE(
"IdentityPreconditionerFactory::initializeFromParameterList", 10);
31 Teko_DEBUG_MSG_BEGIN(9);
32 DEBUG_STREAM <<
"Parameter list: " << std::endl;
33 pl.print(DEBUG_STREAM);
37 std::string scaleStr =
"Scaling";
38 if (pl.isParameter(scaleStr))
scaling_ = pl.get<
double>(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