46 #ifndef THYRA_MUELU_TPETRA_Q2Q1PRECONDITIONER_FACTORY_DECL_HPP
47 #define THYRA_MUELU_TPETRA_Q2Q1PRECONDITIONER_FACTORY_DECL_HPP
48 #ifdef HAVE_MUELU_EXPERIMENTAL
51 #include "Thyra_PreconditionerFactoryBase.hpp"
55 #include <Teko_Utilities.hpp>
66 template <
class Scalar,
class LocalOrdinal,
class GlobalOrdinal,
class Node = KokkosClassic::DefaultNode::DefaultNodeType>
70 typedef LocalOrdinal
LO;
71 typedef GlobalOrdinal
GO;
87 bool isCompatible(
const LinearOpSourceBase<SC> &fwdOp )
const;
91 void initializePrec(
const Teuchos::RCP<
const LinearOpSourceBase<SC> > &fwdOp, PreconditionerBase<SC> *prec,
const ESupportSolveUse supportSolveUse)
const;
93 void uninitializePrec(PreconditionerBase<SC> *prec,
Teuchos::RCP<
const LinearOpSourceBase<SC> > *fwdOp, ESupportSolveUse *supportSolveUse)
const;
125 const Teuchos::RCP<Tpetra::MultiVector<SC,LO,GO,NO> >& velCoords,
126 const Teuchos::RCP<Tpetra::MultiVector<SC,LO,GO,NO> >& presCoords,
128 const Teko::LinearOp& thA11,
const Teko::LinearOp& thA12,
const Teko::LinearOp& thA21,
const Teko::LinearOp& thA11_9Pt)
const;
131 Teuchos::RCP<Xpetra::Matrix<SC,LO,GO,NO> >
FilterMatrix(
Xpetra::Matrix<SC,LO,GO,NO>& A,
Xpetra::Matrix<SC,LO,GO,NO>& Pattern,
SC dropTol)
const;
144 #endif // THYRA_MUELU_TPETRA_Q2Q1PRECONDITIONER_FACTORY_DECL_HPP
void SetDependencyTree(MueLu::FactoryManager< SC, LO, GO, NO > &M, const ParameterList ¶mList) const
This class specifies the default factory that should generate some data on a Level if the data does n...
Teuchos::RCP< Teuchos::ParameterList > paramList_
void setParameterList(const Teuchos::RCP< Teuchos::ParameterList > ¶mList)
Teuchos::RCP< const Teuchos::ParameterList > getParameterList() const
void uninitializePrec(PreconditionerBase< SC > *prec, Teuchos::RCP< const LinearOpSourceBase< SC > > *fwdOp, ESupportSolveUse *supportSolveUse) const
Concrete preconditioner factory subclass based on MueLu.
Teuchos::RCP< const Teuchos::ParameterList > getValidParameters() const
void initializePrec(const Teuchos::RCP< const LinearOpSourceBase< SC > > &fwdOp, PreconditionerBase< SC > *prec, const ESupportSolveUse supportSolveUse) const
std::string description() const
Teuchos::RCP< Teuchos::ParameterList > unsetParameterList()
Teuchos::RCP< Xpetra::Matrix< SC, LO, GO, NO > > FilterMatrix(Xpetra::Matrix< SC, LO, GO, NO > &A, Xpetra::Matrix< SC, LO, GO, NO > &Pattern, SC dropTol) const
Teuchos::RCP< MueLu::TpetraOperator< SC, LO, GO, NO > > Q2Q1MkPrecond(const ParameterList ¶mList, const Teuchos::RCP< Tpetra::MultiVector< SC, LO, GO, NO > > &velCoords, const Teuchos::RCP< Tpetra::MultiVector< SC, LO, GO, NO > > &presCoords, const Teuchos::ArrayRCP< LO > &p2vMap, const Teko::LinearOp &thA11, const Teko::LinearOp &thA12, const Teko::LinearOp &thA21, const Teko::LinearOp &thA11_9Pt) const
bool isCompatible(const LinearOpSourceBase< SC > &fwdOp) const
void SetBlockDependencyTree(MueLu::FactoryManager< SC, LO, GO, NO > &M, LO row, LO col, const std::string &mode, const ParameterList ¶mList) const
Teuchos::RCP< Xpetra::Matrix< SC, LO, GO, NO > > Absolute(const Xpetra::Matrix< SC, LO, GO, NO > &A) const
Teuchos::RCP< Teuchos::ParameterList > getNonconstParameterList()
Teuchos::RCP< PreconditionerBase< SC > > createPrec() const
MueLuTpetraQ2Q1PreconditionerFactory()
RCP< MueLu::FactoryBase > GetSmoother(const std::string &type, const ParameterList ¶mList, bool coarseSolver) const