53 #ifndef MUELU_BLOCKEDDIRECTSOLVER_DECL_HPP_ 54 #define MUELU_BLOCKEDDIRECTSOLVER_DECL_HPP_ 58 #include <Teuchos_ParameterList.hpp> 60 #include <Xpetra_MapExtractor_fwd.hpp> 63 #include "MueLu_SmootherPrototype.hpp" 81 template <class Scalar = SmootherPrototype<>::scalar_type,
89 #undef MUELU_BLOCKEDDIRECTSOLVER_SHORT 126 void Apply(MultiVector& X,
const MultiVector& B,
bool InitialGuessIsZero =
false)
const;
129 RCP<SmootherPrototype>
Copy()
const;
152 RCP<DirectSolver>
s_;
161 #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
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
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.