10 #ifndef MUELU_REFMAXWELLSMOOTHER_DECL_HPP
11 #define MUELU_REFMAXWELLSMOOTHER_DECL_HPP
22 #include "MueLu_SmootherPrototype.hpp"
23 #include "MueLu_RefMaxwell.hpp"
34 template <class Scalar = SmootherPrototype<>::scalar_type,
35 class LocalOrdinal =
typename SmootherPrototype<Scalar>::local_ordinal_type,
36 class GlobalOrdinal =
typename SmootherPrototype<Scalar, LocalOrdinal>::global_ordinal_type,
37 class Node =
typename SmootherPrototype<Scalar, LocalOrdinal, GlobalOrdinal>::node_type>
39 #undef MUELU_REFMAXWELLSMOOTHER_SHORT
86 void Apply(MultiVector& X,
const MultiVector& B,
bool InitialGuessIsZero =
false)
const;
127 #define MUELU_REFMAXWELLSMOOTHER_SHORT
128 #endif // MUELU_REFMAXWELLSMOOTHER_DECL_HPP
MueLu::DefaultLocalOrdinal LocalOrdinal
RefMaxwellSmoother(const std::string type, const Teuchos::ParameterList ¶mList)
Constructor.
RCP< SmootherPrototype > Copy() const
void SetupRefMaxwell(Level ¤tLevel)
RCP< Operator > op_
matrix, used in apply if solving residual equation
virtual ~RefMaxwellSmoother()=default
Destructor.
Base class for smoother prototypes.
std::string cachedDescription_
MueLu::DefaultGlobalOrdinal GlobalOrdinal
Class that holds all level-specific information.
size_t getNodeSmootherComplexity() const
Get a rough estimate of cost per iteration.
Class that encapsulates Operator smoothers.
std::string description() const
Return a simple one-line description of this object.
void print(Teuchos::FancyOStream &out, const VerbLevel verbLevel=Default) const
Print the object with some verbosity level to an FancyOStream object.
void DeclareInput(Level ¤tLevel) const
Input.
void Apply(MultiVector &X, const MultiVector &B, bool InitialGuessIsZero=false) const
Apply the preconditioner.
void SetParameterList(const Teuchos::ParameterList ¶mList)
Set parameters from a parameter list and return with default values.
void Setup(Level ¤tLevel)
Set up the smoother.