53 #ifndef MUELU_BLOCKEDDIRECTSOLVER_DECL_HPP_
54 #define MUELU_BLOCKEDDIRECTSOLVER_DECL_HPP_
63 #include "MueLu_SmootherPrototype.hpp"
81 template <class Scalar = SmootherPrototype<>::scalar_type,
82 class LocalOrdinal =
typename SmootherPrototype<Scalar>::local_ordinal_type,
83 class GlobalOrdinal =
typename SmootherPrototype<Scalar, LocalOrdinal>::global_ordinal_type,
84 class Node =
typename SmootherPrototype<Scalar, LocalOrdinal, GlobalOrdinal>::node_type>
89 #undef MUELU_BLOCKEDDIRECTSOLVER_SHORT
126 void Apply(MultiVector& X,
const MultiVector& B,
bool InitialGuessIsZero =
false)
const;
164 #define MUELU_BLOCKEDDIRECTSOLVER_SHORT
void Setup(Level ¤tLevel)
Setup routine Call the underlaying Setup routine of the nested direct solver once the input block mat...
void DeclareInput(Level ¤tLevel) const
Input.
BlockedDirectSolver()
Constructor.
Base class for smoother prototypes.
Xpetra::MapExtractor< Scalar, LocalOrdinal, GlobalOrdinal, Node > MapExtractorClass
void Apply(MultiVector &X, const MultiVector &B, bool InitialGuessIsZero=false) const
Apply the direct solver. Solves the linear system AX=B using the constructed solver.
RCP< const ParameterList > GetValidParameterList() const
Input.
std::string description() const
Return a simple one-line description of this object.
std::string type_
smoother type
RCP< MergedBlockedMatrixFactory > MergedAFact_
Factory to generate merged block matrix.
Class that holds all level-specific information.
RCP< Matrix > A_
block operator
RCP< SmootherPrototype > Copy() const
direct solver for nxn blocked matrices
size_t getNodeSmootherComplexity() const
Get a rough estimate of cost per iteration.
void print(Teuchos::FancyOStream &out, const VerbLevel verbLevel=Default) const
Print the object with some verbosity level to an FancyOStream object.
RCP< DirectSolver > s_
Direct solver.
virtual ~BlockedDirectSolver()
Destructor.