47#include "Teko_BlockPreconditionerFactory.hpp"
49#include "Teko_Preconditioner.hpp"
50#include "Teko_InverseLibrary.hpp"
52#include "Thyra_DefaultPreconditioner.hpp"
63 RCP<LinearOpBase<double> > loA = Teuchos::rcp_const_cast<Thyra::LinearOpBase<double> >(lo);
64 BlockedLinearOp A = Teuchos::rcp_dynamic_cast<Thyra::PhysicallyBlockedLinearOpBase<double> >(loA);
66 state.setInitialized(
false);
74 RCP<const Thyra::PhysicallyBlockedLinearOpBase<double> > A
75 = Teuchos::rcp_dynamic_cast<const Thyra::PhysicallyBlockedLinearOpBase<double> >(fwdOpSrc.getOp());
76 return A!=Teuchos::null;
virtual LinearOp buildPreconditionerOperator(BlockedLinearOp &blo, BlockPreconditionerState &state) const =0
Function that is called to build the preconditioner for the linear operator that is passed in.
bool isCompatible(const Thyra::LinearOpSourceBase< double > &fwdOpSrc) const
is this operator compatiable with the preconditioner factory?
An implementation of a state object for block preconditioners.
An implementation of a state object preconditioners.