10 #ifndef THYRA_MUELU_TPETRA_Q2Q1PRECONDITIONER_FACTORY_DECL_HPP
11 #define THYRA_MUELU_TPETRA_Q2Q1PRECONDITIONER_FACTORY_DECL_HPP
12 #ifdef HAVE_MUELU_EXPERIMENTAL
14 #include "Thyra_PreconditionerFactoryBase.hpp"
16 #include <Tpetra_KokkosCompat_DefaultNode.hpp>
18 #include <Teko_Utilities.hpp>
29 template <
class Scalar,
class LocalOrdinal,
class GlobalOrdinal,
class Node = Tpetra::KokkosClassic::DefaultNode::DefaultNodeType>
49 bool isCompatible(
const LinearOpSourceBase<SC>& fwdOp)
const;
53 void initializePrec(
const Teuchos::RCP<
const LinearOpSourceBase<SC> >& fwdOp, PreconditionerBase<SC>* prec,
const ESupportSolveUse supportSolveUse)
const;
55 void uninitializePrec(PreconditionerBase<SC>* prec,
Teuchos::RCP<
const LinearOpSourceBase<SC> >* fwdOp, ESupportSolveUse* supportSolveUse)
const;
89 const Teko::LinearOp& thA11,
const Teko::LinearOp& thA12,
const Teko::LinearOp& thA21,
const Teko::LinearOp& thA11_9Pt)
const;
92 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;
104 #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_
MueLu::DefaultLocalOrdinal LocalOrdinal
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()
MueLu::DefaultScalar Scalar
MueLu::DefaultGlobalOrdinal GlobalOrdinal
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