MueLu
Version of the Day
|
#include <MueLu_HierarchyManager.hpp>
Public Types | |
typedef std::map< std::string, RCP< const FactoryBase > > | FactoryMap |
Public Member Functions | |
HierarchyManager (int numDesiredLevel=MasterList::getDefault< int >("max levels")) | |
virtual | ~HierarchyManager () |
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. More... | |
void | CheckConfig () |
![]() | |
virtual | ~HierarchyFactory () |
Destructor. More... | |
![]() | |
virtual | ~BaseClass () |
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 |
VerboseObject () | |
virtual | ~VerboseObject () |
Destructor. More... | |
![]() | |
virtual | ~Describable () |
Destructor. More... | |
virtual std::string | ShortClassName () const |
Return the class name of the object, without template parameters and without namespace. More... | |
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. More... | |
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... | |
Protected Member Functions | |
virtual void | SetupOperator (Operator &Op) const |
Setup Matrix object. More... | |
virtual void | SetupExtra (Hierarchy &H) const |
Setup extra data. More... | |
Teuchos::RCP< FactoryManagerBase > | LvlMngr (int levelID, int lastLevelID) const |
Protected Attributes | |
int | numDesiredLevel_ |
Xpetra::global_size_t | maxCoarseSize_ |
MsgType | verbosity_ |
bool | doPRrebalance_ |
bool | implicitTranspose_ |
int | graphOutputLevel_ |
Teuchos::Array< int > | matricesToPrint_ |
Teuchos::Array< int > | prolongatorsToPrint_ |
Teuchos::Array< int > | restrictorsToPrint_ |
Teuchos::Array< int > | nullspaceToPrint_ |
Teuchos::Array< int > | coordinatesToPrint_ |
std::map< int, std::vector< keep_pair > > | keep_ |
Private Types | |
typedef std::pair< std::string, const FactoryBase * > | keep_pair |
Private Member Functions | |
template<class T > | |
void | WriteData (Hierarchy &H, const Teuchos::Array< int > &data, const std::string &name) const |
Private Attributes | |
Array< RCP< FactoryManagerBase > > | levelManagers_ |
virtual RCP< Hierarchy > | CreateHierarchy () const |
Create an empty Hierarchy object. More... | |
virtual void | SetupHierarchy (Hierarchy &H) const |
Setup Hierarchy object. More... | |
Additional Inherited Members | |
![]() | |
static void | SetDefaultOStream (const Teuchos::RCP< Teuchos::FancyOStream > &defaultOStream) |
static Teuchos::RCP< Teuchos::FancyOStream > | GetDefaultOStream () |
static void | SetDefaultVerbLevel (const VerbLevel defaultVerbLevel) |
Set the default (global) verbosity level. More... | |
static VerbLevel | GetDefaultVerbLevel () |
Get the default (global) verbosity level. More... | |
Definition at line 73 of file MueLu_HierarchyManager.hpp.
|
private |
Definition at line 76 of file MueLu_HierarchyManager.hpp.
typedef std::map<std::string, RCP<const FactoryBase> > MueLu::HierarchyManager< Scalar, LocalOrdinal, GlobalOrdinal, Node >::FactoryMap |
Definition at line 228 of file MueLu_HierarchyManager.hpp.
|
inline |
Definition at line 81 of file MueLu_HierarchyManager.hpp.
|
inlinevirtual |
Definition at line 90 of file MueLu_HierarchyManager.hpp.
|
inline |
Definition at line 93 of file MueLu_HierarchyManager.hpp.
|
inline |
Definition at line 103 of file MueLu_HierarchyManager.hpp.
|
inline |
returns number of factory managers stored in levelManagers_ vector.
Definition at line 109 of file MueLu_HierarchyManager.hpp.
|
inline |
Definition at line 114 of file MueLu_HierarchyManager.hpp.
|
inlinevirtual |
Create an empty Hierarchy object.
Implements MueLu::HierarchyFactory< Scalar, LocalOrdinal, GlobalOrdinal, Node >.
Definition at line 121 of file MueLu_HierarchyManager.hpp.
|
inlinevirtual |
Setup Hierarchy object.
Implements MueLu::HierarchyFactory< Scalar, LocalOrdinal, GlobalOrdinal, Node >.
Reimplemented in MueLu::ParameterListInterpreter< Scalar, LocalOrdinal, GlobalOrdinal, Node >, MueLu::MLParameterListInterpreter< Scalar, LocalOrdinal, GlobalOrdinal, Node >, and MueLu::AdaptiveSaMLParameterListInterpreter< Scalar, LocalOrdinal, GlobalOrdinal, Node >.
Definition at line 126 of file MueLu_HierarchyManager.hpp.
|
inlineprotectedvirtual |
Setup Matrix object.
Reimplemented in MueLu::MLParameterListInterpreter< Scalar, LocalOrdinal, GlobalOrdinal, Node >, MueLu::AdaptiveSaMLParameterListInterpreter< Scalar, LocalOrdinal, GlobalOrdinal, Node >, and MueLu::ParameterListInterpreter< Scalar, LocalOrdinal, GlobalOrdinal, Node >.
Definition at line 233 of file MueLu_HierarchyManager.hpp.
|
inlineprotectedvirtual |
Setup extra data.
Definition at line 237 of file MueLu_HierarchyManager.hpp.
|
inlineprotected |
Definition at line 242 of file MueLu_HierarchyManager.hpp.
|
inlineprivate |
Definition at line 277 of file MueLu_HierarchyManager.hpp.
|
mutableprotected |
Definition at line 260 of file MueLu_HierarchyManager.hpp.
|
protected |
Definition at line 261 of file MueLu_HierarchyManager.hpp.
|
protected |
Definition at line 262 of file MueLu_HierarchyManager.hpp.
|
protected |
Definition at line 263 of file MueLu_HierarchyManager.hpp.
|
protected |
Definition at line 264 of file MueLu_HierarchyManager.hpp.
|
protected |
Definition at line 265 of file MueLu_HierarchyManager.hpp.
|
protected |
Definition at line 266 of file MueLu_HierarchyManager.hpp.
|
protected |
Definition at line 267 of file MueLu_HierarchyManager.hpp.
|
protected |
Definition at line 268 of file MueLu_HierarchyManager.hpp.
|
protected |
Definition at line 269 of file MueLu_HierarchyManager.hpp.
|
protected |
Definition at line 270 of file MueLu_HierarchyManager.hpp.
|
protected |
Definition at line 272 of file MueLu_HierarchyManager.hpp.
|
private |
Definition at line 294 of file MueLu_HierarchyManager.hpp.