10 #ifndef MUELU_UZAWASMOOTHER_DECL_HPP_
11 #define MUELU_UZAWASMOOTHER_DECL_HPP_
24 #include "MueLu_SmootherPrototype.hpp"
40 template <class Scalar = SmootherPrototype<>::scalar_type,
41 class LocalOrdinal =
typename SmootherPrototype<Scalar>::local_ordinal_type,
42 class GlobalOrdinal =
typename SmootherPrototype<Scalar, LocalOrdinal>::global_ordinal_type,
43 class Node =
typename SmootherPrototype<Scalar, LocalOrdinal, GlobalOrdinal>::node_type>
47 #undef MUELU_UZAWASMOOTHER_SHORT
90 void Apply(MultiVector &X, MultiVector
const &B,
bool InitialGuessIsZero =
false)
const;
144 #define MUELU_UZAWASMOOTHER_SHORT
void Setup(Level ¤tLevel)
Setup routine.
MueLu::DefaultLocalOrdinal LocalOrdinal
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)
void SetVelocityPredictionFactoryManager(RCP< FactoryManager > FactManager)
Set factory manager for internal velocity prediction.
Teuchos::RCP< Matrix > F_
fluid operator
MueLu::DefaultGlobalOrdinal GlobalOrdinal
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 internal factory managers.
Teuchos::RCP< Vector > diagFinv_
matrices
Teuchos::RCP< SmootherBase > schurCompSmoo_
smoother for SchurComplement equation
void SetSchurCompFactoryManager(RCP< FactoryManager > FactManager)
Set factory manager for internal SchurComplement handling.
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.
Xpetra::MapExtractor< Scalar, LocalOrdinal, GlobalOrdinal, Node > MapExtractorClass