53 #ifndef MUELU_UZAWASMOOTHER_DECL_HPP_
54 #define MUELU_UZAWASMOOTHER_DECL_HPP_
69 #include "MueLu_SmootherPrototype.hpp"
89 template <class Scalar = SmootherPrototype<>::scalar_type,
90 class LocalOrdinal =
typename SmootherPrototype<Scalar>::local_ordinal_type,
91 class GlobalOrdinal =
typename SmootherPrototype<Scalar, LocalOrdinal>::global_ordinal_type,
92 class Node =
typename SmootherPrototype<Scalar, LocalOrdinal, GlobalOrdinal>::node_type>
97 #undef MUELU_UZAWASMOOTHER_SHORT
145 void Apply(MultiVector &X, MultiVector
const &B,
bool InitialGuessIsZero =
false)
const;
200 #define MUELU_UZAWASMOOTHER_SHORT
void Setup(Level ¤tLevel)
Setup routine.
RCP< const FactoryBase > AFact_
A Factory.
void print(Teuchos::FancyOStream &out, const VerbLevel verbLevel=Default) const
Print the object with some verbosity level to an FancyOStream object.
Base class for smoother prototypes.
Teuchos::RCP< Matrix > D_
divergence operator
RCP< const MapExtractorClass > domainMapExtractor_
domain map extractor (from A_ generated by AFact)
void DeclareInput(Level ¤tLevel) const
Input.
void Apply(MultiVector &X, MultiVector const &B, bool InitialGuessIsZero=false) const
Apply the Braess Sarazin smoother.
RCP< const ParameterList > GetValidParameterList() const
Input.
RCP< const MapExtractorClass > rangeMapExtractor_
range map extractor (from A_ generated by AFact)
UzawaSmoother()
Constructor.
void SetVelocityPredictionFactoryManager(RCP< FactoryManager > FactManager)
Teuchos::RCP< Matrix > F_
fluid operator
Class that holds all level-specific information.
Block triangle Uzawa smoother for 2x2 block matrices.
RCP< Matrix > A_
block operator
std::string description() const
Return a simple one-line description of this object.
RCP< SmootherPrototype > Copy() const
Teuchos::RCP< Matrix > Z_
pressure stabilization term or null block
std::vector< Teuchos::RCP< const FactoryManagerBase > > FactManager_
vector of factory managers
Teuchos::RCP< Vector > diagFinv_
matrices
Teuchos::RCP< SmootherBase > schurCompSmoo_
smoother for SchurComplement equation
void SetSchurCompFactoryManager(RCP< FactoryManager > FactManager)
Teuchos::RCP< Matrix > G_
pressure gradient operator
size_t getNodeSmootherComplexity() const
Get a rough estimate of cost per iteration.
Teuchos::RCP< SmootherBase > velPredictSmoo_
smoother for velocity prediction
std::string type_
smoother type
void AddFactoryManager(RCP< const FactoryManagerBase > FactManager, int pos)
Add a factory manager at a specific position.
virtual ~UzawaSmoother()
Destructor.
Xpetra::MapExtractor< Scalar, LocalOrdinal, GlobalOrdinal, Node > MapExtractorClass