|
MueLu Version of the Day
|
This class first calculates row- and column permutation operators and applies a smoother to the permuted linear system. More...
#include <MueLu_PermutingSmoother_decl.hpp>
Overridden from Teuchos::Describable | |
| std::string | type_ |
| ifpack1/2-specific key phrase that denote smoother type More... | |
| LO | overlap_ |
| overlap when using the smoother in additive Schwarz mode More... | |
| RCP< FactoryBase > | permFact_ |
| Permutation Factory. More... | |
| RCP< Matrix > | permQT_ |
| permQT matrix object More... | |
| RCP< Matrix > | permP_ |
| permP matrix object More... | |
| Teuchos::RCP< Matrix > | diagScalingOp_ |
| scaling matrix object More... | |
| RCP< SmootherPrototype > | s_ |
| Smoother. More... | |
| std::string | description () const |
| Return a simple one-line description of this object. More... | |
| void | print (Teuchos::FancyOStream &out, const VerbLevel verbLevel=Default) const |
| Print the object with some verbosity level to an FancyOStream object. More... | |
| size_t | getNodeSmootherComplexity () const |
| Get a rough estimate of cost per iteration. More... | |
Constructors / destructors | |
| PermutingSmoother (std::string const &mapName, const RCP< const FactoryBase > &mapFact, std::string const &type="", const Teuchos::ParameterList ¶mList=Teuchos::ParameterList(), LO const &overlap=0, RCP< FactoryBase > permFact=Teuchos::null) | |
| Constructor. More... | |
| virtual | ~PermutingSmoother () |
| Destructor. More... | |
| void | DeclareInput (Level ¤tLevel) const |
| Input. More... | |
Setup and Apply methods. | |
| void | Setup (Level ¤tLevel) |
| Set up the direct solver. More... | |
| 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. More... | |
| RCP< SmootherPrototype > | Copy () const |
This class first calculates row- and column permutation operators and applies a smoother to the permuted linear system.
Definition at line 85 of file MueLu_PermutingSmoother_decl.hpp.
| MueLu::PermutingSmoother< Scalar, LocalOrdinal, GlobalOrdinal, Node >::PermutingSmoother | ( | std::string const & | mapName, |
| const RCP< const FactoryBase > & | mapFact, | ||
| std::string const & | type = "", |
||
| const Teuchos::ParameterList & | paramList = Teuchos::ParameterList(), |
||
| LO const & | overlap = 0, |
||
| RCP< FactoryBase > | permFact = Teuchos::null |
||
| ) |
Constructor.
| [in] | mapName | Name of map object in level class, which rows/cols can be permuted |
| [in] | mapFact | generating factory of map with name mapName |
| [in] | type | string that contains type of smoother (e.g. "RELAXATION" or "ILU") |
| [in] | paramList | parameter list with parameters for smoother (default: empty) |
| [in] | overlap | LocalOrdinal with overlap inforation (default: 0) |
| [in] | permFact | factory, generating permutation and scaling matrices (default: Teuchos::null -> use internal PermutationFactory instance) |
Definition at line 75 of file MueLu_PermutingSmoother_def.hpp.
|
virtual |
Destructor.
Definition at line 105 of file MueLu_PermutingSmoother_def.hpp.
|
virtual |
Input.
Definition at line 108 of file MueLu_PermutingSmoother_def.hpp.
|
virtual |
Set up the direct solver.
Definition at line 117 of file MueLu_PermutingSmoother_def.hpp.
|
virtual |
Apply the direct solver. Solves the linear system AX=B using the constructed solver.
| X | initial guess |
| B | right-hand side |
| InitialGuessIsZero | This option has no effect. |
Definition at line 134 of file MueLu_PermutingSmoother_def.hpp.
|
virtual |
Definition at line 157 of file MueLu_PermutingSmoother_def.hpp.
|
virtual |
Return a simple one-line description of this object.
Reimplemented from MueLu::Describable.
Definition at line 162 of file MueLu_PermutingSmoother_def.hpp.
| void MueLu::PermutingSmoother< Scalar, LocalOrdinal, GlobalOrdinal, Node >::print | ( | Teuchos::FancyOStream & | out, |
| const VerbLevel | verbLevel = Default |
||
| ) | const |
Print the object with some verbosity level to an FancyOStream object.
Definition at line 169 of file MueLu_PermutingSmoother_def.hpp.
|
inlinevirtual |
Get a rough estimate of cost per iteration.
Definition at line 143 of file MueLu_PermutingSmoother_decl.hpp.
|
private |
ifpack1/2-specific key phrase that denote smoother type
Definition at line 149 of file MueLu_PermutingSmoother_decl.hpp.
|
private |
overlap when using the smoother in additive Schwarz mode
Definition at line 152 of file MueLu_PermutingSmoother_decl.hpp.
|
private |
Permutation Factory.
Definition at line 155 of file MueLu_PermutingSmoother_decl.hpp.
|
private |
permQT matrix object
Definition at line 158 of file MueLu_PermutingSmoother_decl.hpp.
|
private |
permP matrix object
Definition at line 161 of file MueLu_PermutingSmoother_decl.hpp.
|
private |
scaling matrix object
Definition at line 164 of file MueLu_PermutingSmoother_decl.hpp.
|
private |
Definition at line 171 of file MueLu_PermutingSmoother_decl.hpp.