46 #ifndef MUELU_PROJECTORSMOOTHER_DECL_HPP
47 #define MUELU_PROJECTORSMOOTHER_DECL_HPP
49 #include <Xpetra_Matrix_fwd.hpp>
50 #include <Xpetra_MultiVector_fwd.hpp>
54 #include "MueLu_SmootherPrototype.hpp"
76 template <class Scalar = SmootherPrototype<>::scalar_type,
77 class LocalOrdinal =
typename SmootherPrototype<Scalar>::local_ordinal_type,
78 class GlobalOrdinal =
typename SmootherPrototype<Scalar, LocalOrdinal>::global_ordinal_type,
79 class Node =
typename SmootherPrototype<Scalar, LocalOrdinal, GlobalOrdinal>::node_type>
82 #undef MUELU_PROJECTORSMOOTHER_SHORT
116 void Apply(MultiVector& X,
const MultiVector& B,
bool InitialGuessIsZero =
false)
const;
145 #define MUELU_PROJECTORSMOOTHER_SHORT
146 #endif // MUELU_PROJECTORSMOOTHER_DECL_HPP
void print(Teuchos::FancyOStream &out, const VerbLevel verbLevel=Default) const
Print the object with some verbosity level to an FancyOStream object.
std::string description() const
Return a simple one-line description of this object.
MueLu::DefaultLocalOrdinal LocalOrdinal
RCP< MultiVector > Borth_
Base class for smoother prototypes.
RCP< SmootherPrototype > coarseSolver_
virtual ~ProjectorSmoother()
Destructor.
MueLu::DefaultGlobalOrdinal GlobalOrdinal
Class that holds all level-specific information.
RCP< SmootherPrototype > Copy() const
void Setup(Level ¤tLevel)
Set up the direct solver.
size_t getNodeSmootherComplexity() const
Get a rough estimate of cost per iteration.
This class enables the elimination of the nullspace component of the solution through the use of proj...
void Apply(MultiVector &X, const MultiVector &B, bool InitialGuessIsZero=false) const
Apply the direct solver. Solves the linear system AX=B using the constructed solver.
ProjectorSmoother(RCP< SmootherPrototype > coarseSolver)
Constructor.
void DeclareInput(Level ¤tLevel) const
Input.