|
MueLu Version of the Day
|
#include <MueLu_HierarchyManager_decl.hpp>
Public Types | |
| typedef std::map< std::string, RCP< const FactoryBase > > | FactoryMap |
Public Member Functions | |
| HierarchyManager (int numDesiredLevel=MasterList::getDefault< int >("max levels")) | |
| Constructor. | |
| virtual | ~HierarchyManager ()=default |
| Destructor. | |
| void | AddFactoryManager (int startLevel, int numDesiredLevel, RCP< FactoryManagerBase > manager) |
| RCP< FactoryManagerBase > | GetFactoryManager (int levelID) const |
| size_t | getNumFactoryManagers () const |
| returns number of factory managers stored in levelManagers_ vector. | |
| void | CheckConfig () |
| virtual RCP< Hierarchy > | CreateHierarchy () const |
| Create an empty Hierarchy object. | |
| virtual RCP< Hierarchy > | CreateHierarchy (const std::string &label) const |
| Create a labeled empty Hierarchy object. | |
| virtual void | SetupHierarchy (Hierarchy &H) const |
| Setup Hierarchy object. | |
| void | SetNumDesiredLevel (int numDesiredLevel) |
| Set the number of desired levels. | |
| int | GetNumDesiredLevel () |
| Get the number of desired levels. | |
Public Member Functions inherited from MueLu::HierarchyFactory< Scalar, LocalOrdinal, GlobalOrdinal, Node > | |
| virtual | ~HierarchyFactory () |
| Destructor. | |
Public Member Functions inherited from MueLu::BaseClass | |
| virtual | ~BaseClass () |
| Destructor. | |
Public Member Functions inherited from MueLu::VerboseObject | |
| VerboseObject () | |
| virtual | ~VerboseObject () |
| Destructor. | |
| VerbLevel | GetVerbLevel () const |
| Get the verbosity level. | |
| void | SetVerbLevel (const VerbLevel verbLevel) |
| Set the verbosity level of this object. | |
| int | GetProcRankVerbose () const |
| Get proc rank used for printing. Do not use this information for any other purpose. | |
| int | SetProcRankVerbose (int procRank) const |
| Set proc rank used for printing. | |
| bool | IsPrint (MsgType type, int thisProcRankOnly=-1) const |
| Find out whether we need to print out information for a specific message type. | |
| Teuchos::FancyOStream & | GetOStream (MsgType type, int thisProcRankOnly=0) const |
| Get an output stream for outputting the input message type. | |
| Teuchos::FancyOStream & | GetBlackHole () const |
Public Member Functions inherited from MueLu::Describable | |
| virtual | ~Describable () |
| Destructor. | |
| virtual void | describe (Teuchos::FancyOStream &out_arg, const VerbLevel verbLevel=Default) const |
| virtual std::string | description () const |
| Return a simple one-line description of this object. | |
| 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. | |
| virtual std::string | ShortClassName () const |
| Return the class name of the object, without template parameters and without namespace. | |
Protected Member Functions | |
| virtual void | SetupOperator (Operator &) const |
| Setup Matrix object. | |
| virtual void | SetupExtra (Hierarchy &) const |
| Setup extra data. | |
| Teuchos::RCP< FactoryManagerBase > | LvlMngr (int levelID, int lastLevelID) const |
Private Types | |
| typedef std::pair< std::string, const FactoryBase * > | keep_pair |
Private Member Functions | |
| void | ExportDataSetKeepFlags (Hierarchy &H, const Teuchos::Array< int > &data, const std::string &name) const |
| void | ExportDataSetKeepFlagsNextLevel (Hierarchy &H, const Teuchos::Array< int > &data, const std::string &name) const |
| void | ExportDataSetKeepFlagsAll (Hierarchy &H, const std::string &name) const |
| template<class T > | |
| void | WriteData (Hierarchy &H, const Teuchos::Array< int > &data, const std::string &name) const |
| void | WriteDataAggregates (Hierarchy &H, const Teuchos::Array< int > &data, const std::string &name) const |
| template<class T > | |
| void | WriteDataFC (Hierarchy &H, const Teuchos::Array< int > &data, const std::string &name, const std::string &ofname) const |
| template<class T > | |
| void | WriteFieldContainer (const std::string &fileName, T &fcont, const Map &colMap) const |
Private Attributes | |
| Array< RCP< FactoryManagerBase > > | levelManagers_ |
Additional Inherited Members | |
Static Public Member Functions inherited from MueLu::VerboseObject | |
| static void | SetDefaultVerbLevel (const VerbLevel defaultVerbLevel) |
| Set the default (global) verbosity level. | |
| static VerbLevel | GetDefaultVerbLevel () |
| Get the default (global) verbosity level. | |
| static void | SetMueLuOStream (const Teuchos::RCP< Teuchos::FancyOStream > &mueluOStream) |
| static void | SetMueLuOFileStream (const std::string &filename) |
| static Teuchos::RCP< Teuchos::FancyOStream > | GetMueLuOStream () |
Definition at line 46 of file MueLu_HierarchyManager_decl.hpp.
|
private |
Definition at line 49 of file MueLu_HierarchyManager_decl.hpp.
| typedef std::map<std::string, RCP<const FactoryBase> > MueLu::HierarchyManager< Scalar, LocalOrdinal, GlobalOrdinal, Node >::FactoryMap |
Definition at line 87 of file MueLu_HierarchyManager_decl.hpp.
| MueLu::HierarchyManager< Scalar, LocalOrdinal, GlobalOrdinal, Node >::HierarchyManager | ( | int | numDesiredLevel = MasterList::getDefault<int>("max levels") | ) |
Constructor.
Definition at line 39 of file MueLu_HierarchyManager_def.hpp.
|
virtualdefault |
Destructor.
| void MueLu::HierarchyManager< Scalar, LocalOrdinal, GlobalOrdinal, Node >::AddFactoryManager | ( | int | startLevel, |
| int | numDesiredLevel, | ||
| RCP< FactoryManagerBase > | manager | ||
| ) |
Definition at line 52 of file MueLu_HierarchyManager_def.hpp.
| RCP< FactoryManagerBase > MueLu::HierarchyManager< Scalar, LocalOrdinal, GlobalOrdinal, Node >::GetFactoryManager | ( | int | levelID | ) | const |
Definition at line 62 of file MueLu_HierarchyManager_def.hpp.
| size_t MueLu::HierarchyManager< Scalar, LocalOrdinal, GlobalOrdinal, Node >::getNumFactoryManagers | ( | ) | const |
returns number of factory managers stored in levelManagers_ vector.
Definition at line 68 of file MueLu_HierarchyManager_def.hpp.
| void MueLu::HierarchyManager< Scalar, LocalOrdinal, GlobalOrdinal, Node >::CheckConfig | ( | ) |
Definition at line 73 of file MueLu_HierarchyManager_def.hpp.
|
virtual |
Create an empty Hierarchy object.
Implements MueLu::HierarchyFactory< Scalar, LocalOrdinal, GlobalOrdinal, Node >.
Definition at line 79 of file MueLu_HierarchyManager_def.hpp.
|
virtual |
Create a labeled empty Hierarchy object.
Implements MueLu::HierarchyFactory< Scalar, LocalOrdinal, GlobalOrdinal, Node >.
Definition at line 84 of file MueLu_HierarchyManager_def.hpp.
|
virtual |
Setup Hierarchy object.
Implements MueLu::HierarchyFactory< Scalar, LocalOrdinal, GlobalOrdinal, Node >.
Reimplemented in MueLu::AdaptiveSaMLParameterListInterpreter< Scalar, LocalOrdinal, GlobalOrdinal, Node >, and MueLu::ParameterListInterpreter< Scalar, LocalOrdinal, GlobalOrdinal, Node >.
Definition at line 89 of file MueLu_HierarchyManager_def.hpp.
|
inline |
Set the number of desired levels.
Definition at line 80 of file MueLu_HierarchyManager_decl.hpp.
|
inline |
Get the number of desired levels.
Definition at line 83 of file MueLu_HierarchyManager_decl.hpp.
|
inlineprotectedvirtual |
Setup Matrix object.
Reimplemented in MueLu::ParameterListInterpreter< Scalar, LocalOrdinal, GlobalOrdinal, Node >, and MueLu::AdaptiveSaMLParameterListInterpreter< Scalar, LocalOrdinal, GlobalOrdinal, Node >.
Definition at line 91 of file MueLu_HierarchyManager_decl.hpp.
|
inlineprotectedvirtual |
Setup extra data.
Definition at line 95 of file MueLu_HierarchyManager_decl.hpp.
|
protected |
Definition at line 266 of file MueLu_HierarchyManager_def.hpp.
|
private |
Definition at line 284 of file MueLu_HierarchyManager_def.hpp.
|
private |
Definition at line 295 of file MueLu_HierarchyManager_def.hpp.
|
private |
Definition at line 306 of file MueLu_HierarchyManager_def.hpp.
|
private |
Definition at line 316 of file MueLu_HierarchyManager_def.hpp.
|
private |
Definition at line 344 of file MueLu_HierarchyManager_def.hpp.
|
private |
Definition at line 369 of file MueLu_HierarchyManager_def.hpp.
|
private |
Definition at line 390 of file MueLu_HierarchyManager_def.hpp.
|
mutableprotected |
@group Hierarchy parameters
Definition at line 105 of file MueLu_HierarchyManager_decl.hpp.
|
protected |
Definition at line 106 of file MueLu_HierarchyManager_decl.hpp.
|
protected |
Definition at line 107 of file MueLu_HierarchyManager_decl.hpp.
|
protected |
Definition at line 109 of file MueLu_HierarchyManager_decl.hpp.
|
protected |
Definition at line 110 of file MueLu_HierarchyManager_decl.hpp.
|
protected |
Definition at line 111 of file MueLu_HierarchyManager_decl.hpp.
|
protected |
Definition at line 112 of file MueLu_HierarchyManager_decl.hpp.
|
protected |
Flag to indicate whether the check of the nullspace dimension is suppressed.
By default, we do not suppress such a check, as it acts as a safety mechanism. Yet, certain scenarios deliberately use nullspaces with less nullspace vectors than NumPDEs. Therefore, the user can suppress this check. Then, the error message is converted to a warning.
Definition at line 120 of file MueLu_HierarchyManager_decl.hpp.
|
protected |
Definition at line 122 of file MueLu_HierarchyManager_decl.hpp.
|
protected |
-2 = no output, -1 = all levels
Definition at line 125 of file MueLu_HierarchyManager_decl.hpp.
|
protected |
Lists of entities to be exported (or saved)
Definition at line 129 of file MueLu_HierarchyManager_decl.hpp.
|
protected |
Definition at line 130 of file MueLu_HierarchyManager_decl.hpp.
|
protected |
Definition at line 131 of file MueLu_HierarchyManager_decl.hpp.
|
protected |
Definition at line 132 of file MueLu_HierarchyManager_decl.hpp.
|
protected |
Definition at line 133 of file MueLu_HierarchyManager_decl.hpp.
|
protected |
Definition at line 136 of file MueLu_HierarchyManager_decl.hpp.
|
protected |
Definition at line 139 of file MueLu_HierarchyManager_decl.hpp.
|
protected |
Definition at line 141 of file MueLu_HierarchyManager_decl.hpp.
|
protected |
Definition at line 143 of file MueLu_HierarchyManager_decl.hpp.
|
private |
Definition at line 168 of file MueLu_HierarchyManager_decl.hpp.