This class enables the elimination of the nullspace component of the solution through the use of projection.
More...
|
| typedef SmootherPrototype<>::scalar_type | scalar_type |
| |
| typedef typename SmootherPrototype< SmootherPrototype<>::scalar_type >::local_ordinal_type | local_ordinal_type |
| |
| typedef typename SmootherPrototype< SmootherPrototype<>::scalar_type, typename SmootherPrototype< SmootherPrototype<>::scalar_type >::local_ordinal_type >::global_ordinal_type | global_ordinal_type |
| |
| typedef typename SmootherPrototype< SmootherPrototype<>::scalar_type, typename SmootherPrototype< SmootherPrototype<>::scalar_type >::local_ordinal_type, typename SmootherPrototype< SmootherPrototype<>::scalar_type, typename SmootherPrototype< SmootherPrototype<>::scalar_type >::local_ordinal_type >::global_ordinal_type >::node_type | node_type |
| |
| typedef SmootherPrototype<>::scalar_type | scalar_type |
| |
| typedef typename SmootherPrototype< SmootherPrototype<>::scalar_type >::local_ordinal_type | local_ordinal_type |
| |
| typedef typename SmootherPrototype< SmootherPrototype<>::scalar_type, typename SmootherPrototype< SmootherPrototype<>::scalar_type >::local_ordinal_type >::global_ordinal_type | global_ordinal_type |
| |
| typedef typename SmootherPrototype< SmootherPrototype<>::scalar_type, typename SmootherPrototype< SmootherPrototype<>::scalar_type >::local_ordinal_type, typename SmootherPrototype< SmootherPrototype<>::scalar_type, typename SmootherPrototype< SmootherPrototype<>::scalar_type >::local_ordinal_type >::global_ordinal_type >::node_type | node_type |
| |
| | SmootherPrototype () |
| | @nameConstructors/Destructors. More...
|
| |
| virtual | ~SmootherPrototype () |
| |
| virtual void | DeclareInput (Level ¤tLevel) const=0 |
| | Input. More...
|
| |
| virtual void | CallBuild (Level &) const |
| |
| virtual void | CallDeclareInput (Level &requestedLevel) const |
| |
| bool | IsSetup () const |
| | Get the state of a smoother prototype. More...
|
| |
| void | IsSetup (bool const &ToF) |
| | Set the state of a smoother prototype. More...
|
| |
| | SmootherBase () |
| |
| virtual | ~SmootherBase () |
| |
| void | declareConstructionOutcome (bool fail, std::string msg) |
| |
| bool | constructionSuccessful () |
| |
| std::string | constructionErrorMsg () |
| |
| virtual | ~BaseClass () |
| | Destructor. More...
|
| |
| | VerboseObject () |
| |
| virtual | ~VerboseObject () |
| | Destructor. More...
|
| |
| VerbLevel | GetVerbLevel () const |
| | Get the verbosity level. More...
|
| |
| void | SetVerbLevel (const VerbLevel verbLevel) |
| | Set the verbosity level of this object. More...
|
| |
| int | GetProcRankVerbose () const |
| | Get proc rank used for printing. Do not use this information for any other purpose. More...
|
| |
| int | SetProcRankVerbose (int procRank) const |
| | Set proc rank used for printing. More...
|
| |
| bool | IsPrint (MsgType type, int thisProcRankOnly=-1) const |
| | Find out whether we need to print out information for a specific message type. More...
|
| |
| Teuchos::FancyOStream & | GetOStream (MsgType type, int thisProcRankOnly=0) const |
| | Get an output stream for outputting the input message type. More...
|
| |
| Teuchos::FancyOStream & | GetBlackHole () const |
| |
| virtual | ~Describable () |
| | Destructor. More...
|
| |
| virtual void | describe (Teuchos::FancyOStream &out_arg, const VerbLevel verbLevel=Default) const |
| |
| void | describe (Teuchos::FancyOStream &out, const Teuchos::EVerbosityLevel verbLevel=Teuchos::Describable::verbLevel_default) const |
| | Print the object with some verbosity level to an FancyOStream object. More...
|
| |
| virtual std::string | ShortClassName () const |
| | Return the class name of the object, without template parameters and without namespace. More...
|
| |
| | Factory () |
| | Constructor. More...
|
| |
| virtual | ~Factory () |
| | Destructor. More...
|
| |
| virtual void | SetFactory (const std::string &varName, const RCP< const FactoryBase > &factory) |
| | Configuration. More...
|
| |
| const RCP< const FactoryBase > | GetFactory (const std::string &varName) const |
| | Default implementation of FactoryAcceptor::GetFactory() More...
|
| |
| RCP< ParameterList > | RemoveFactoriesFromList (const ParameterList &list) const |
| |
| virtual RCP< const ParameterList > | GetValidParameterList () const |
| | Return a const parameter list of valid parameters that setParameterList() will accept. More...
|
| |
| void | EnableMultipleCallCheck () const |
| |
| void | DisableMultipleCallCheck () const |
| |
| void | ResetDebugData () const |
| |
| | FactoryBase () |
| | Constructor. More...
|
| |
| virtual | ~FactoryBase () |
| | Destructor. More...
|
| |
| int | GetID () const |
| | return unique factory id More...
|
| |
| virtual | ~FactoryAcceptor () |
| |
| virtual void | SetFactory (const std::string &varName, const RCP< const FactoryBase > &factory)=0 |
| | Configuration. More...
|
| |
| virtual const RCP< const FactoryBase > | GetFactory (const std::string &varName) const =0 |
| |
| | ParameterListAcceptorImpl () |
| |
| virtual | ~ParameterListAcceptorImpl ()=default |
| |
| virtual void | SetParameterList (const Teuchos::ParameterList ¶mList) |
| | Set parameters from a parameter list and return with default values. More...
|
| |
| virtual const Teuchos::ParameterList & | GetParameterList () const |
| |
| void | SetParameter (const std::string &name, const ParameterEntry &entry) |
| | Set a parameter directly as a ParameterEntry. More...
|
| |
| const ParameterEntry & | GetParameter (const std::string &name) const |
| | Retrieves a const entry with the name name. More...
|
| |
| virtual void | GetDocumentation (std::ostream &os) const |
| |
| | ParameterListAcceptor () |
| |
| virtual | ~ParameterListAcceptor ()=default |
| |
| static void | SetDefaultVerbLevel (const VerbLevel defaultVerbLevel) |
| | Set the default (global) verbosity level. More...
|
| |
| static VerbLevel | GetDefaultVerbLevel () |
| | Get the default (global) verbosity level. More...
|
| |
| static void | SetMueLuOStream (const Teuchos::RCP< Teuchos::FancyOStream > &mueluOStream) |
| |
| static void | SetMueLuOFileStream (const std::string &filename) |
| |
| static Teuchos::RCP< Teuchos::FancyOStream > | GetMueLuOStream () |
| |
| static void | EnableTimerSync () |
| |
| static void | DisableTimerSync () |
| |
| static void | EnableMultipleCheckGlobally () |
| |
| static void | DisableMultipleCheckGlobally () |
| |
| void | Input (Level &level, const std::string &varName) const |
| |
| void | Input (Level &level, const std::string &varName, const std::string &varParamName) const |
| |
| template<class T > |
| T | Get (Level &level, const std::string &varName) const |
| |
| template<class T > |
| T | Get (Level &level, const std::string &varName, const std::string &varParamName) const |
| |
| template<class T > |
| void | Set (Level &level, const std::string &varName, const T &data) const |
| |
| bool | IsAvailable (Level &level, const std::string &varName) const |
| |
| static bool | timerSync_ = false |
| |
template<class
Scalar = SmootherPrototype<>::scalar_type, class
LocalOrdinal = typename SmootherPrototype<Scalar>::local_ordinal_type, class
GlobalOrdinal = typename SmootherPrototype<Scalar, LocalOrdinal>::global_ordinal_type, class
Node = typename SmootherPrototype<Scalar, LocalOrdinal, GlobalOrdinal>::node_type>
class MueLu::ProjectorSmoother< Scalar, LocalOrdinal, GlobalOrdinal, Node >
This class enables the elimination of the nullspace component of the solution through the use of projection.
The solution of the coarsest level system may have a significant nullspace component. We can try to eliminate it through the use of nullspaces. Due to our construction algorithms, we always have some nullspace vectors on the coarsest level. However, we do not know if they are true nullspace vectors or are only approximations to them.
We will use the Rayleigh quotiont to separate the true nullspace vectors. If Rayleigh quotient is less than specified epsilon, we consider the vector to be a true nullspace vector.
After we separate true nullspace vectors, we project our solution to the space orthogonal to them. To do that in a computationally efficient manner, in the Setup stage we orthonormalize the selected nullspace components.
Definition at line 80 of file MueLu_ProjectorSmoother_decl.hpp.