|
MueLu Version of the Day
|
#include <MueLu_HierarchyManager.hpp>
Public Types | |
| typedef std::map< std::string, RCP< const FactoryBase > > | FactoryMap |
| 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 |
| 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. | |
| 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 |
| virtual void | SetupHierarchy (Hierarchy &H) const |
| Setup Hierarchy object. | |
| Public Member Functions inherited from MueLu::HierarchyFactory< DefaultScalar, DefaultLocalOrdinal, DefaultGlobalOrdinal, DefaultNode > | |
| virtual | ~HierarchyFactory () |
| Destructor. | |
| virtual | ~BaseClass () |
| Destructor. | |
| 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 |
| 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 |
| 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 |
| 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_ |
| int | numDesiredLevel_ |
| Xpetra::global_size_t | maxCoarseSize_ |
| MsgType | verbosity_ |
| bool | doPRrebalance_ |
| bool | doPRViaCopyrebalance_ |
| bool | implicitTranspose_ |
| bool | fuseProlongationAndUpdate_ |
| bool | suppressNullspaceDimensionCheck_ |
| Flag to indicate whether the check of the nullspace dimension is suppressed. | |
| int | sizeOfMultiVectors_ |
| int | graphOutputLevel_ |
| -2 = no output, -1 = all levels | |
| Teuchos::Array< int > | nullspaceToPrint_ |
| Lists of entities to be exported (or saved). | |
| Teuchos::Array< int > | coordinatesToPrint_ |
| Teuchos::Array< int > | materialToPrint_ |
| Teuchos::Array< int > | aggregatesToPrint_ |
| Teuchos::Array< int > | elementToNodeMapsToPrint_ |
| Teuchos::Array< std::string > | dataToKeep_ |
| std::map< std::string, Teuchos::Array< int > > | matricesToPrint_ |
| Teuchos::RCP< Teuchos::ParameterList > | matvecParams_ |
| std::map< int, std::vector< keep_pair > > | keep_ |
| Teuchos::Array< std::string > | dataToSave_ |
Additional Inherited Members | |
| 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.hpp.
|
private |
Definition at line 49 of file MueLu_HierarchyManager.hpp.
| typedef std::map<std::string, RCP<const FactoryBase> > MueLu::HierarchyManager< Scalar, LocalOrdinal, GlobalOrdinal, Node >::FactoryMap |
Definition at line 293 of file MueLu_HierarchyManager.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 81 of file MueLu_HierarchyManager_decl.hpp.
|
inline |
Constructor.
Definition at line 53 of file MueLu_HierarchyManager.hpp.
|
virtualdefault |
Destructor.
| MueLu::HierarchyManager< Scalar, LocalOrdinal, GlobalOrdinal, Node >::HierarchyManager | ( | int | numDesiredLevel = MasterList::getDefault< int >("max levels") | ) |
Constructor.
|
virtualdefault |
Destructor.
|
inline |
Definition at line 69 of file MueLu_HierarchyManager.hpp.
|
inline |
Definition at line 79 of file MueLu_HierarchyManager.hpp.
|
inline |
returns number of factory managers stored in levelManagers_ vector.
Definition at line 85 of file MueLu_HierarchyManager.hpp.
|
inline |
Definition at line 90 of file MueLu_HierarchyManager.hpp.
|
inlinevirtual |
Create an empty Hierarchy object.
Implements MueLu::HierarchyFactory< DefaultScalar, DefaultLocalOrdinal, DefaultGlobalOrdinal, DefaultNode >.
Definition at line 97 of file MueLu_HierarchyManager.hpp.
|
inlinevirtual |
Definition at line 101 of file MueLu_HierarchyManager.hpp.
|
inlinevirtual |
Setup Hierarchy object.
Implements MueLu::HierarchyFactory< DefaultScalar, DefaultLocalOrdinal, DefaultGlobalOrdinal, DefaultNode >.
Reimplemented in MueLu::AdaptiveSaMLParameterListInterpreter< Scalar, LocalOrdinal, GlobalOrdinal, Node >, and MueLu::ParameterListInterpreter< Scalar, LocalOrdinal, GlobalOrdinal, Node >.
Definition at line 106 of file MueLu_HierarchyManager.hpp.
|
inline |
Set the number of desired levels.
Definition at line 286 of file MueLu_HierarchyManager.hpp.
|
inline |
Get the number of desired levels.
Definition at line 289 of file MueLu_HierarchyManager.hpp.
|
inlineprotectedvirtual |
Setup Matrix object.
Reimplemented in MueLu::AdaptiveSaMLParameterListInterpreter< Scalar, LocalOrdinal, GlobalOrdinal, Node >, and MueLu::ParameterListInterpreter< Scalar, LocalOrdinal, GlobalOrdinal, Node >.
Definition at line 297 of file MueLu_HierarchyManager.hpp.
|
inlineprotectedvirtual |
Setup extra data.
Definition at line 301 of file MueLu_HierarchyManager.hpp.
|
inlineprotected |
Definition at line 306 of file MueLu_HierarchyManager.hpp.
|
inlineprivate |
Definition at line 368 of file MueLu_HierarchyManager.hpp.
|
inlineprivate |
Definition at line 378 of file MueLu_HierarchyManager.hpp.
|
inlineprivate |
Definition at line 389 of file MueLu_HierarchyManager.hpp.
|
inlineprivate |
Definition at line 398 of file MueLu_HierarchyManager.hpp.
|
inlineprivate |
Definition at line 425 of file MueLu_HierarchyManager.hpp.
|
inlineprivate |
Definition at line 450 of file MueLu_HierarchyManager.hpp.
|
inlineprivate |
Definition at line 471 of file MueLu_HierarchyManager.hpp.
| void MueLu::HierarchyManager< Scalar, LocalOrdinal, GlobalOrdinal, Node >::AddFactoryManager | ( | int | startLevel, |
| int | numDesiredLevel, | ||
| RCP< FactoryManagerBase > | manager ) |
| RCP< FactoryManagerBase > MueLu::HierarchyManager< Scalar, LocalOrdinal, GlobalOrdinal, Node >::GetFactoryManager | ( | int | levelID | ) | const |
| size_t MueLu::HierarchyManager< Scalar, LocalOrdinal, GlobalOrdinal, Node >::getNumFactoryManagers | ( | ) | const |
returns number of factory managers stored in levelManagers_ vector.
| void MueLu::HierarchyManager< Scalar, LocalOrdinal, GlobalOrdinal, Node >::CheckConfig | ( | ) |
|
virtual |
Create an empty Hierarchy object.
Implements MueLu::HierarchyFactory< DefaultScalar, DefaultLocalOrdinal, DefaultGlobalOrdinal, DefaultNode >.
|
virtual |
|
virtual |
Setup Hierarchy object.
Implements MueLu::HierarchyFactory< DefaultScalar, DefaultLocalOrdinal, DefaultGlobalOrdinal, DefaultNode >.
|
inlineprotectedvirtual |
Setup Matrix object.
Definition at line 85 of file MueLu_HierarchyManager_decl.hpp.
|
inlineprotectedvirtual |
Setup extra data.
Definition at line 89 of file MueLu_HierarchyManager_decl.hpp.
|
protected |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
mutableprotected |
@group Hierarchy parameters
Definition at line 325 of file MueLu_HierarchyManager.hpp.
|
protected |
Definition at line 326 of file MueLu_HierarchyManager.hpp.
|
protected |
Definition at line 327 of file MueLu_HierarchyManager.hpp.
|
protected |
Definition at line 329 of file MueLu_HierarchyManager.hpp.
|
protected |
Definition at line 330 of file MueLu_HierarchyManager.hpp.
|
protected |
Definition at line 331 of file MueLu_HierarchyManager.hpp.
|
protected |
Definition at line 332 of file MueLu_HierarchyManager.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 340 of file MueLu_HierarchyManager.hpp.
|
protected |
Definition at line 342 of file MueLu_HierarchyManager.hpp.
|
protected |
-2 = no output, -1 = all levels
Definition at line 345 of file MueLu_HierarchyManager.hpp.
|
protected |
Lists of entities to be exported (or saved).
Definition at line 349 of file MueLu_HierarchyManager.hpp.
|
protected |
Definition at line 350 of file MueLu_HierarchyManager.hpp.
|
protected |
Definition at line 351 of file MueLu_HierarchyManager.hpp.
|
protected |
Definition at line 352 of file MueLu_HierarchyManager.hpp.
|
protected |
Definition at line 353 of file MueLu_HierarchyManager.hpp.
|
protected |
Definition at line 356 of file MueLu_HierarchyManager.hpp.
|
protected |
Definition at line 359 of file MueLu_HierarchyManager.hpp.
|
protected |
Definition at line 361 of file MueLu_HierarchyManager.hpp.
|
protected |
Definition at line 363 of file MueLu_HierarchyManager.hpp.
|
private |
Definition at line 491 of file MueLu_HierarchyManager.hpp.
|
protected |
Definition at line 130 of file MueLu_HierarchyManager_decl.hpp.