46#ifndef MUELU_REFMAXWELLSMOOTHER_DECL_HPP
47#define MUELU_REFMAXWELLSMOOTHER_DECL_HPP
49#include <Teuchos_ParameterList.hpp>
51#include <Xpetra_Matrix_fwd.hpp>
60#include "MueLu_SmootherPrototype.hpp"
61#include "MueLu_RefMaxwell.hpp"
73 template <class Scalar = SmootherPrototype<>::scalar_type,
78#undef MUELU_REFMAXWELLSMOOTHER_SHORT
126 void Apply(MultiVector& X,
const MultiVector& B,
bool InitialGuessIsZero =
false)
const;
133 RCP<SmootherPrototype>
Copy()
const;
168#define MUELU_REFMAXWELLSMOOTHER_SHORT
MueLu::DefaultLocalOrdinal LocalOrdinal
MueLu::DefaultGlobalOrdinal GlobalOrdinal
Class that holds all level-specific information.
Class that encapsulates Operator smoothers.
void print(Teuchos::FancyOStream &out, const VerbLevel verbLevel=Default) const
Print the object with some verbosity level to an FancyOStream object.
void SetupRefMaxwell(Level ¤tLevel)
void Setup(Level ¤tLevel)
Set up the smoother.
std::string cachedDescription_
RCP< Operator > op_
matrix, used in apply if solving residual equation
void SetParameterList(const Teuchos::ParameterList ¶mList)
Set parameters from a parameter list and return with default values.
size_t getNodeSmootherComplexity() const
Get a rough estimate of cost per iteration.
void DeclareInput(Level ¤tLevel) const
Input.
RefMaxwellSmoother(const std::string type, const Teuchos::ParameterList ¶mList)
Constructor.
std::string description() const
Return a simple one-line description of this object.
void Apply(MultiVector &X, const MultiVector &B, bool InitialGuessIsZero=false) const
Apply the preconditioner.
RCP< SmootherPrototype > Copy() const
virtual ~RefMaxwellSmoother()=default
Destructor.
Base class for smoother prototypes.
GlobalOrdinal global_ordinal_type
LocalOrdinal local_ordinal_type
Namespace for MueLu classes and methods.