53 #ifndef MUELU_UZAWASMOOTHER_DECL_HPP_ 54 #define MUELU_UZAWASMOOTHER_DECL_HPP_ 69 #include "MueLu_SmootherPrototype.hpp" 89 template <class Scalar = SmootherPrototype<>::scalar_type,
97 #undef MUELU_UZAWASMOOTHER_SHORT 145 void Apply(MultiVector &X, MultiVector
const &B,
bool InitialGuessIsZero =
false)
const;
200 #define MUELU_UZAWASMOOTHER_SHORT
std::string description() const
Return a simple one-line description of this object.
void Setup(Level ¤tLevel)
Setup routine.
RCP< const FactoryBase > AFact_
A Factory.
Base class for smoother prototypes.
Teuchos::RCP< Matrix > D_
divergence operator
void DeclareInput(Level ¤tLevel) const
Input.
RCP< const MapExtractorClass > domainMapExtractor_
domain map extractor (from A_ generated by AFact)
Namespace for MueLu classes and methods.
LocalOrdinal local_ordinal_type
RCP< const MapExtractorClass > rangeMapExtractor_
range map extractor (from A_ generated by AFact)
UzawaSmoother()
Constructor.
void SetVelocityPredictionFactoryManager(RCP< FactoryManager > FactManager)
RCP< const ParameterList > GetValidParameterList() const
Input.
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
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
RCP< SmootherPrototype > Copy() const
void SetSchurCompFactoryManager(RCP< FactoryManager > FactManager)
Teuchos::RCP< Matrix > G_
pressure gradient operator
GlobalOrdinal global_ordinal_type
Teuchos::RCP< SmootherBase > velPredictSmoo_
smoother for velocity prediction
void print(Teuchos::FancyOStream &out, const VerbLevel verbLevel=Default) const
Print the object with some verbosity level to an FancyOStream object.
std::string type_
smoother type
void AddFactoryManager(RCP< const FactoryManagerBase > FactManager, int pos)
Add a factory manager at a specific position.
void Apply(MultiVector &X, MultiVector const &B, bool InitialGuessIsZero=false) const
Apply the Braess Sarazin smoother.
virtual ~UzawaSmoother()
Destructor.
size_t getNodeSmootherComplexity() const
Get a rough estimate of cost per iteration.
Xpetra::MapExtractor< Scalar, LocalOrdinal, GlobalOrdinal, Node > MapExtractorClass