53 #ifndef MUELU_BLOCKEDGAUSSSEIDELSMOOTHER_DECL_HPP_ 54 #define MUELU_BLOCKEDGAUSSSEIDELSMOOTHER_DECL_HPP_ 58 #include <Teuchos_ParameterList.hpp> 60 #include <Xpetra_Matrix_fwd.hpp> 61 #include <Xpetra_BlockedCrsMatrix_fwd.hpp> 62 #include <Xpetra_ReorderedBlockedCrsMatrix_fwd.hpp> 63 #include <Xpetra_MultiVectorFactory_fwd.hpp> 64 #include <Xpetra_MapExtractor_fwd.hpp> 68 #include "MueLu_SmootherPrototype.hpp" 117 template <class Scalar = SmootherPrototype<>::scalar_type,
126 #undef MUELU_BLOCKEDGAUSSSEIDELSMOOTHER_SHORT 173 void Apply(MultiVector& X,
const MultiVector& B,
bool InitialGuessIsZero =
false)
const;
176 RCP<SmootherPrototype>
Copy()
const;
202 std::vector<Teuchos::RCP<const SmootherBase> >
Inverse_;
219 #define MUELU_BLOCKEDGAUSSSEIDELSMOOTHER_SHORT
virtual ~BlockedGaussSeidelSmoother()
Destructor.
RCP< const MapExtractorClass > domainMapExtractor_
domain map extractor (from A_ generated by AFact)
Xpetra::MapExtractor< Scalar, LocalOrdinal, GlobalOrdinal, Node > MapExtractorClass
size_t getNodeSmootherComplexity() const
Get a rough estimate of cost per iteration.
Base class for smoother prototypes.
block Gauss-Seidel method for blocked matrices
Namespace for MueLu classes and methods.
LocalOrdinal local_ordinal_type
std::vector< Teuchos::RCP< const SmootherBase > > Inverse_
vector of smoother/solver factories
std::vector< bool > bIsBlockedOperator_
vector storing whether sub-block is a blocked operator (needed for nested blocked smoothers using Thy...
RCP< FactoryBase > AFact_
A Factory.
std::string description() const
Return a simple one-line description of this object.
RCP< const MapExtractorClass > rangeMapExtractor_
range map extractor (from A_ generated by AFact)
void DeclareInput(Level ¤tLevel) const
Input.
Class that holds all level-specific information.
void Setup(Level ¤tLevel)
Setup routine In the Setup method the Inverse_ vector is filled with the corresponding SmootherBase o...
RCP< SmootherPrototype > Copy() const
RCP< const ParameterList > GetValidParameterList() const
Input.
std::vector< Teuchos::RCP< const FactoryManagerBase > > FactManager_
vector of factory managers
BlockedGaussSeidelSmoother()
Constructor.
GlobalOrdinal global_ordinal_type
std::string type_
smoother type
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< Matrix > A_
block operator
void print(Teuchos::FancyOStream &out, const VerbLevel verbLevel=Default) const
Print the object with some verbosity level to an FancyOStream object.
void AddFactoryManager(RCP< const FactoryManagerBase > FactManager, int pos)
Add a factory manager.