53 #ifndef MUELU_INDEFBLOCKEDDIAGONALSMOOTHER_DECL_HPP_
54 #define MUELU_INDEFBLOCKEDDIAGONALSMOOTHER_DECL_HPP_
62 #include <Xpetra_MapExtractor_fwd.hpp>
63 #include <Xpetra_MultiVectorFactory_fwd.hpp>
64 #include <Xpetra_CrsMatrixWrap_fwd.hpp>
65 #include <Xpetra_Matrix_fwd.hpp>
69 #include "MueLu_SmootherPrototype.hpp"
93 template <class Scalar = SmootherPrototype<>::scalar_type,
94 class LocalOrdinal =
typename SmootherPrototype<Scalar>::local_ordinal_type,
95 class GlobalOrdinal =
typename SmootherPrototype<Scalar, LocalOrdinal>::global_ordinal_type,
96 class Node =
typename SmootherPrototype<Scalar, LocalOrdinal, GlobalOrdinal>::node_type>
102 #undef MUELU_INDEFBLOCKEDDIAGONALSMOOTHER_SHORT
142 void Apply(MultiVector& X,
const MultiVector& B,
bool InitialGuessIsZero =
false)
const;
192 #define MUELU_INDEFBLOCKEDDIAGONALSMOOTHER_SHORT
std::string description() const
Return a simple one-line description of this object.
std::vector< Teuchos::RCP< const FactoryManagerBase > > FactManager_
vector of factory managers
MueLu::DefaultLocalOrdinal LocalOrdinal
std::string type_
smoother type
void Apply(MultiVector &X, const MultiVector &B, bool InitialGuessIsZero=false) const
Apply the Braess Sarazin smoother.
RCP< Matrix > A_
block operator
IndefBlockedDiagonalSmoother()
Constructor.
void Setup(Level ¤tLevel)
Setup routine.
RCP< Matrix > F_
fluid operator
Xpetra::MapExtractor< Scalar, LocalOrdinal, GlobalOrdinal, Node > MapExtractorClass
Base class for smoother prototypes.
void print(Teuchos::FancyOStream &out, const VerbLevel verbLevel=Default) const
Print the object with some verbosity level to an FancyOStream object.
void DeclareInput(Level ¤tLevel) const
Input.
RCP< const MapExtractorClass > rangeMapExtractor_
range map extractor (from A_ generated by AFact)
MueLu::DefaultGlobalOrdinal GlobalOrdinal
Class that holds all level-specific information.
Cheap Blocked diagonal smoother for indefinite 2x2 block matrices.
RCP< const ParameterList > GetValidParameterList() const
Input.
RCP< Matrix > Z_
pressure stabilization term or null block
size_t getNodeSmootherComplexity() const
Get a rough estimate of cost per iteration.
Teuchos::RCP< SmootherBase > velPredictSmoo_
Block smoothers.
RCP< const FactoryBase > AFact_
A Factory.
Teuchos::RCP< SmootherBase > schurCompSmoo_
smoother for SchurComplement equation
void AddFactoryManager(RCP< const FactoryManagerBase > FactManager, int pos=0)
Add a factory manager for BraessSarazin internal SchurComplement handling.
virtual ~IndefBlockedDiagonalSmoother()
Destructor.
RCP< SmootherPrototype > Copy() const
RCP< const MapExtractorClass > domainMapExtractor_
domain map extractor (from A_ generated by AFact)