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