10 #ifndef MUELU_PROJECTORSMOOTHER_DECL_HPP
11 #define MUELU_PROJECTORSMOOTHER_DECL_HPP
18 #include "MueLu_SmootherPrototype.hpp"
39 template <class Scalar = SmootherPrototype<>::scalar_type,
40 class LocalOrdinal =
typename SmootherPrototype<Scalar>::local_ordinal_type,
41 class GlobalOrdinal =
typename SmootherPrototype<Scalar, LocalOrdinal>::global_ordinal_type,
42 class Node =
typename SmootherPrototype<Scalar, LocalOrdinal, GlobalOrdinal>::node_type>
44 #undef MUELU_PROJECTORSMOOTHER_SHORT
77 void Apply(MultiVector &X,
const MultiVector &B,
bool InitialGuessIsZero =
false)
const;
105 #define MUELU_PROJECTORSMOOTHER_SHORT
106 #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.