53 #ifndef MUELU_BLOCKEDDIRECTSOLVER_DECL_HPP_ 54 #define MUELU_BLOCKEDDIRECTSOLVER_DECL_HPP_ 60 #include <Xpetra_MapExtractor_fwd.hpp> 63 #include "MueLu_SmootherPrototype.hpp" 81 template <class Scalar = SmootherPrototype<>::scalar_type,
89 #undef MUELU_BLOCKEDDIRECTSOLVER_SHORT 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...
BlockedDirectSolver()
Constructor.
Base class for smoother prototypes.
void DeclareInput(Level ¤tLevel) const
Input.
Xpetra::MapExtractor< Scalar, LocalOrdinal, GlobalOrdinal, Node > MapExtractorClass
Namespace for MueLu classes and methods.
LocalOrdinal local_ordinal_type
size_t getNodeSmootherComplexity() const
Get a rough estimate of cost per iteration.
std::string type_
smoother type
RCP< const ParameterList > GetValidParameterList() const
Input.
RCP< MergedBlockedMatrixFactory > MergedAFact_
Factory to generate merged block matrix.
Class that holds all level-specific information.
RCP< Matrix > A_
block operator
direct solver for nxn blocked matrices
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.
void print(Teuchos::FancyOStream &out, const VerbLevel verbLevel=Default) const
Print the object with some verbosity level to an FancyOStream object.
GlobalOrdinal global_ordinal_type
Classes::MultiVector< Scalar, LocalOrdinal, GlobalOrdinal, Node > MultiVector
RCP< SmootherPrototype > Copy() const
RCP< DirectSolver > s_
Direct solver.
virtual ~BlockedDirectSolver()
Destructor.
std::string description() const
Return a simple one-line description of this object.