10 #ifndef THYRA_BELOS_TPETRA_PRECONDITIONERFACTORY_DECL_HPP
11 #define THYRA_BELOS_TPETRA_PRECONDITIONERFACTORY_DECL_HPP
13 #include "Thyra_PreconditionerFactoryBase.hpp"
20 template <
typename MatrixType>
22 public PreconditionerFactoryBase<typename MatrixType::scalar_type> {
38 bool isCompatible(
const LinearOpSourceBase<scalar_type> &fwdOp)
const;
45 const Teuchos::RCP<
const LinearOpSourceBase<scalar_type> > &fwdOp,
46 PreconditionerBase<scalar_type> *prec,
47 const ESupportSolveUse supportSolveUse
52 PreconditionerBase<scalar_type> *prec,
53 Teuchos::RCP<
const LinearOpSourceBase<scalar_type> > *fwdOp,
54 ESupportSolveUse *supportSolveUse
90 #endif // THYRA_BELOS_TPETRA_PRECONDITIONERFACTORY_DECL_HPP
std::string description() const
void uninitializePrec(PreconditionerBase< scalar_type > *prec, Teuchos::RCP< const LinearOpSourceBase< scalar_type > > *fwdOp, ESupportSolveUse *supportSolveUse) const
bool isCompatible(const LinearOpSourceBase< scalar_type > &fwdOp) const
void initializePrec(const Teuchos::RCP< const LinearOpSourceBase< scalar_type > > &fwdOp, PreconditionerBase< scalar_type > *prec, const ESupportSolveUse supportSolveUse) const
MatrixType::scalar_type scalar_type
void setParameterList(const Teuchos::RCP< Teuchos::ParameterList > ¶mList)
Teuchos::RCP< Teuchos::ParameterList > paramList_
Teuchos::RCP< const Teuchos::ParameterList > getValidParameters() const
Concrete preconditioner factory subclass based on Belos. (Yes, Belos solvers can also be used as prec...
Teuchos::RCP< const Teuchos::ParameterList > getParameterList() const
Teuchos::RCP< Teuchos::ParameterList > getNonconstParameterList()
Teuchos::RCP< PreconditionerBase< scalar_type > > createPrec() const
BelosTpetraPreconditionerFactory()
Teuchos::RCP< Teuchos::ParameterList > unsetParameterList()