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,
82#undef MUELU_PROJECTORSMOOTHER_SHORT
116 void Apply(MultiVector& X,
const MultiVector& B,
bool InitialGuessIsZero =
false)
const;
119 RCP<SmootherPrototype>
Copy()
const;
145#define MUELU_PROJECTORSMOOTHER_SHORT
MueLu::DefaultLocalOrdinal LocalOrdinal
MueLu::DefaultGlobalOrdinal GlobalOrdinal
Class that holds all level-specific information.
This class enables the elimination of the nullspace component of the solution through the use of proj...
RCP< SmootherPrototype > coarseSolver_
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.
RCP< SmootherPrototype > Copy() const
void print(Teuchos::FancyOStream &out, const VerbLevel verbLevel=Default) const
Print the object with some verbosity level to an FancyOStream object.
virtual ~ProjectorSmoother()
Destructor.
void Setup(Level ¤tLevel)
Set up the direct solver.
size_t getNodeSmootherComplexity() const
Get a rough estimate of cost per iteration.
std::string description() const
Return a simple one-line description of this object.
RCP< MultiVector > Borth_
void DeclareInput(Level ¤tLevel) const
Input.
Base class for smoother prototypes.
GlobalOrdinal global_ordinal_type
LocalOrdinal local_ordinal_type
Namespace for MueLu classes and methods.