MueLu  Version of the Day
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
MueLu::HierarchyManager< Scalar, LocalOrdinal, GlobalOrdinal, Node > Class Template Reference

#include <MueLu_HierarchyManager.hpp>

Inheritance diagram for MueLu::HierarchyManager< Scalar, LocalOrdinal, GlobalOrdinal, Node >:
MueLu::HierarchyFactory< Scalar, LocalOrdinal, GlobalOrdinal, Node > MueLu::HierarchyFactory< Scalar, LocalOrdinal, GlobalOrdinal, Node > MueLu::BaseClass MueLu::BaseClass MueLu::VerboseObject MueLu::Describable MueLu::VerboseObject MueLu::Describable Teuchos::VerboseObject< VerboseObject > Teuchos::Describable Teuchos::VerboseObject< VerboseObject > Teuchos::Describable Teuchos::VerboseObjectBase Teuchos::LabeledObject Teuchos::VerboseObjectBase Teuchos::LabeledObject MueLu::AdaptiveSaMLParameterListInterpreter< Scalar, LocalOrdinal, GlobalOrdinal, Node > MueLu::MLParameterListInterpreter< Scalar, LocalOrdinal, GlobalOrdinal, Node > MueLu::ParameterListInterpreter< Scalar, LocalOrdinal, GlobalOrdinal, Node >

Public Types

typedef std::map< std::string,
RCP< const FactoryBase > > 
FactoryMap
 
typedef std::map< std::string,
RCP< const FactoryBase > > 
FactoryMap
 

Public Member Functions

 maxCoarseSize_ (MasterList::getDefault< int >("coarse: max size"))
 
 verbosity_ (Medium)
 
 doPRrebalance_ (MasterList::getDefault< bool >("repartition: rebalance P and R"))
 
 doPRViaCopyrebalance_ (MasterList::getDefault< bool >("repartition: explicit via new copy rebalance P and R"))
 
 implicitTranspose_ (MasterList::getDefault< bool >("transpose: use implicit"))
 
 fuseProlongationAndUpdate_ (MasterList::getDefault< bool >("fuse prolongation and update"))
 
 suppressNullspaceDimensionCheck_ (MasterList::getDefault< bool >("nullspace: suppress dimension check"))
 
 sizeOfMultiVectors_ (MasterList::getDefault< int >("number of vectors"))
 
 graphOutputLevel_ (-2)
 
virtual ~HierarchyManager ()=default
 Destructor. More...
 
void AddFactoryManager (int startLevel, int numDesiredLevel, RCP< FactoryManagerBase > manager)
 
RCP< FactoryManagerBaseGetFactoryManager (int levelID) const
 
size_t getNumFactoryManagers () const
 returns number of factory managers stored in levelManagers_ vector. More...
 
void CheckConfig ()
 
 HierarchyManager (int numDesiredLevel=MasterList::getDefault< int >("max levels"))
 Constructor. More...
 
virtual ~HierarchyManager ()=default
 Destructor. More...
 
void AddFactoryManager (int startLevel, int numDesiredLevel, RCP< FactoryManagerBase > manager)
 
RCP< FactoryManagerBaseGetFactoryManager (int levelID) const
 
size_t getNumFactoryManagers () const
 returns number of factory managers stored in levelManagers_ vector. More...
 
void CheckConfig ()
 
- Public Member Functions inherited from MueLu::HierarchyFactory< Scalar, LocalOrdinal, GlobalOrdinal, Node >
virtual ~HierarchyFactory ()
 Destructor. More...
 
- Public Member Functions inherited from MueLu::BaseClass
virtual ~BaseClass ()
 Destructor. More...
 
- Public Member Functions inherited from MueLu::VerboseObject
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::FancyOStreamGetOStream (MsgType type, int thisProcRankOnly=0) const
 Get an output stream for outputting the input message type. More...
 
Teuchos::FancyOStreamGetBlackHole () const
 
 VerboseObject ()
 
virtual ~VerboseObject ()
 Destructor. More...
 
- Public Member Functions inherited from Teuchos::VerboseObject< VerboseObject >
 VerboseObject (const EVerbosityLevel verbLevel=VERB_DEFAULT, const RCP< FancyOStream > &oStream=Teuchos::null)
 
virtual const VerboseObjectsetVerbLevel (const EVerbosityLevel verbLevel) const
 
virtual const VerboseObjectsetOverridingVerbLevel (const EVerbosityLevel verbLevel) const
 
virtual EVerbosityLevel getVerbLevel () const
 
TEUCHOSPARAMETERLIST_LIB_DLL_EXPORT
RCP< const ParameterList
getValidVerboseObjectSublist ()
 
TEUCHOSPARAMETERLIST_LIB_DLL_EXPORT
void 
setupVerboseObjectSublist (ParameterList *paramList)
 
TEUCHOSPARAMETERLIST_LIB_DLL_EXPORT
void 
readVerboseObjectSublist (ParameterList *paramList, RCP< FancyOStream > *oStream, EVerbosityLevel *verbLevel)
 
void readVerboseObjectSublist (ParameterList *paramList, VerboseObject< ObjectType > *verboseObject)
 
- Public Member Functions inherited from Teuchos::VerboseObjectBase
virtual ~VerboseObjectBase ()
 
 VerboseObjectBase (const RCP< FancyOStream > &oStream=Teuchos::null)
 
virtual const VerboseObjectBasesetOStream (const RCP< FancyOStream > &oStream) const
 
virtual const VerboseObjectBasesetOverridingOStream (const RCP< FancyOStream > &oStream) const
 
virtual VerboseObjectBasesetLinePrefix (const std::string &linePrefix)
 
virtual RCP< FancyOStreamgetOStream () const
 
virtual RCP< FancyOStreamgetOverridingOStream () const
 
virtual std::string getLinePrefix () const
 
virtual OSTab getOSTab (const int tabs=1, const std::string &linePrefix="") const
 
- Public Member Functions inherited from MueLu::Describable
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...
 
- Public Member Functions inherited from Teuchos::Describable
void describe (std::ostream &out, const EVerbosityLevel verbLevel=verbLevel_default) const
 
 LabeledObject ()
 
virtual ~LabeledObject ()
 
virtual void setObjectLabel (const std::string &objectLabel)
 
virtual std::string getObjectLabel () const
 
DescribableStreamManipulatorState describe (const Describable &describable, const EVerbosityLevel verbLevel=Describable::verbLevel_default)
 
std::ostream & operator<< (std::ostream &os, const DescribableStreamManipulatorState &d)
 

Public Attributes

 __pad0__: numDesiredLevel_(numDesiredLevel)
 Constructor. More...
 

Protected Member Functions

virtual void SetupOperator (Operator &) const
 Setup Matrix object. More...
 
virtual void SetupExtra (Hierarchy &) const
 Setup extra data. More...
 
Teuchos::RCP< FactoryManagerBaseLvlMngr (int levelID, int lastLevelID) const
 
virtual void SetupOperator (Operator &) const
 Setup Matrix object. More...
 
virtual void SetupExtra (Hierarchy &) const
 Setup extra data. More...
 
Teuchos::RCP< FactoryManagerBaseLvlMngr (int levelID, int lastLevelID) const
 
- Protected Member Functions inherited from Teuchos::VerboseObject< VerboseObject >
void initializeVerboseObject (const EVerbosityLevel verbLevel=VERB_DEFAULT, const RCP< FancyOStream > &oStream=Teuchos::null)
 
- Protected Member Functions inherited from Teuchos::VerboseObjectBase
void initializeVerboseObjectBase (const RCP< FancyOStream > &oStream=Teuchos::null)
 
virtual void informUpdatedVerbosityState () 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_
 
virtual RCP< HierarchyCreateHierarchy () const
 Create an empty Hierarchy object. More...
 
virtual RCP< HierarchyCreateHierarchy (const std::string &label) const
 Create a labeled empty Hierarchy object. More...
 
virtual void SetupHierarchy (Hierarchy &H) const
 Setup Hierarchy object. More...
 
void SetNumDesiredLevel (int numDesiredLevel)
 Set the number of desired levels. More...
 
int GetNumDesiredLevel ()
 Get the number of desired levels. More...
 
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. More...
 
int sizeOfMultiVectors_
 
int graphOutputLevel_
 -2 = no output, -1 = all levels More...
 
Teuchos::Array< int > nullspaceToPrint_
 Lists of entities to be exported (or saved) More...
 
Teuchos::Array< int > coordinatesToPrint_
 
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_
 
virtual RCP< HierarchyCreateHierarchy () const
 Create an empty Hierarchy object. More...
 
virtual RCP< HierarchyCreateHierarchy (const std::string &label) const
 Create a labeled empty Hierarchy object. More...
 
virtual void SetupHierarchy (Hierarchy &H) const
 Setup Hierarchy object. More...
 
Teuchos::Array< std::string > dataToSave_
 

Additional Inherited Members

- Static Public Member Functions inherited from MueLu::VerboseObject
static void SetMueLuOStream (const Teuchos::RCP< Teuchos::FancyOStream > &mueluOStream)
 
static void SetMueLuOFileStream (const std::string &filename)
 
static Teuchos::RCP
< Teuchos::FancyOStream
GetMueLuOStream ()
 
static void SetDefaultVerbLevel (const VerbLevel defaultVerbLevel)
 Set the default (global) verbosity level. More...
 
static VerbLevel GetDefaultVerbLevel ()
 Get the default (global) verbosity level. More...
 
- Static Public Member Functions inherited from Teuchos::VerboseObject< VerboseObject >
static void setDefaultVerbLevel (const EVerbosityLevel defaultVerbLevel)
 
static EVerbosityLevel getDefaultVerbLevel ()
 
- Static Public Member Functions inherited from Teuchos::VerboseObjectBase
static void setDefaultOStream (const RCP< FancyOStream > &defaultOStream)
 
static RCP< FancyOStreamgetDefaultOStream ()
 
- Static Public Attributes inherited from Teuchos::Describable
static const EVerbosityLevel verbLevel_default
 

Detailed Description

template<class Scalar = DefaultScalar, class LocalOrdinal = DefaultLocalOrdinal, class GlobalOrdinal = DefaultGlobalOrdinal, class Node = DefaultNode>
class MueLu::HierarchyManager< Scalar, LocalOrdinal, GlobalOrdinal, Node >

Definition at line 46 of file MueLu_HierarchyManager.hpp.

Member Typedef Documentation

template<class Scalar = DefaultScalar, class LocalOrdinal = DefaultLocalOrdinal, class GlobalOrdinal = DefaultGlobalOrdinal, class Node = DefaultNode>
typedef std::pair<std::string, const FactoryBase*> MueLu::HierarchyManager< Scalar, LocalOrdinal, GlobalOrdinal, Node >::keep_pair
private

Definition at line 49 of file MueLu_HierarchyManager.hpp.

template<class Scalar = DefaultScalar, class LocalOrdinal = DefaultLocalOrdinal, class GlobalOrdinal = DefaultGlobalOrdinal, class Node = DefaultNode>
typedef std::map<std::string, RCP<const FactoryBase> > MueLu::HierarchyManager< Scalar, LocalOrdinal, GlobalOrdinal, Node >::FactoryMap

Definition at line 291 of file MueLu_HierarchyManager.hpp.

template<class Scalar = DefaultScalar, class LocalOrdinal = DefaultLocalOrdinal, class GlobalOrdinal = DefaultGlobalOrdinal, class Node = DefaultNode>
typedef std::pair<std::string, const FactoryBase*> MueLu::HierarchyManager< Scalar, LocalOrdinal, GlobalOrdinal, Node >::keep_pair
private

Definition at line 49 of file MueLu_HierarchyManager_decl.hpp.

template<class Scalar = DefaultScalar, class LocalOrdinal = DefaultLocalOrdinal, class GlobalOrdinal = DefaultGlobalOrdinal, class Node = DefaultNode>
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.

Constructor & Destructor Documentation

template<class Scalar = DefaultScalar, class LocalOrdinal = DefaultLocalOrdinal, class GlobalOrdinal = DefaultGlobalOrdinal, class Node = DefaultNode>
virtual MueLu::HierarchyManager< Scalar, LocalOrdinal, GlobalOrdinal, Node >::~HierarchyManager ( )
virtualdefault

Destructor.

template<class Scalar , class LocalOrdinal , class GlobalOrdinal , class Node >
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.

template<class Scalar = DefaultScalar, class LocalOrdinal = DefaultLocalOrdinal, class GlobalOrdinal = DefaultGlobalOrdinal, class Node = DefaultNode>
virtual MueLu::HierarchyManager< Scalar, LocalOrdinal, GlobalOrdinal, Node >::~HierarchyManager ( )
virtualdefault

Destructor.

Member Function Documentation

template<class Scalar = DefaultScalar, class LocalOrdinal = DefaultLocalOrdinal, class GlobalOrdinal = DefaultGlobalOrdinal, class Node = DefaultNode>
MueLu::HierarchyManager< Scalar, LocalOrdinal, GlobalOrdinal, Node >::maxCoarseSize_ ( MasterList::getDefault< int >  "coarse: max size")
template<class Scalar = DefaultScalar, class LocalOrdinal = DefaultLocalOrdinal, class GlobalOrdinal = DefaultGlobalOrdinal, class Node = DefaultNode>
MueLu::HierarchyManager< Scalar, LocalOrdinal, GlobalOrdinal, Node >::verbosity_ ( Medium  )
template<class Scalar = DefaultScalar, class LocalOrdinal = DefaultLocalOrdinal, class GlobalOrdinal = DefaultGlobalOrdinal, class Node = DefaultNode>
MueLu::HierarchyManager< Scalar, LocalOrdinal, GlobalOrdinal, Node >::doPRrebalance_ ( MasterList::getDefault< bool >  "repartition: rebalance P and R")
template<class Scalar = DefaultScalar, class LocalOrdinal = DefaultLocalOrdinal, class GlobalOrdinal = DefaultGlobalOrdinal, class Node = DefaultNode>
MueLu::HierarchyManager< Scalar, LocalOrdinal, GlobalOrdinal, Node >::doPRViaCopyrebalance_ ( MasterList::getDefault< bool >  "repartition: explicit via new copy rebalance P and R")
template<class Scalar = DefaultScalar, class LocalOrdinal = DefaultLocalOrdinal, class GlobalOrdinal = DefaultGlobalOrdinal, class Node = DefaultNode>
MueLu::HierarchyManager< Scalar, LocalOrdinal, GlobalOrdinal, Node >::implicitTranspose_ ( MasterList::getDefault< bool >  "transpose: use implicit")
template<class Scalar = DefaultScalar, class LocalOrdinal = DefaultLocalOrdinal, class GlobalOrdinal = DefaultGlobalOrdinal, class Node = DefaultNode>
MueLu::HierarchyManager< Scalar, LocalOrdinal, GlobalOrdinal, Node >::fuseProlongationAndUpdate_ ( MasterList::getDefault< bool >  "fuse prolongation and update")
template<class Scalar = DefaultScalar, class LocalOrdinal = DefaultLocalOrdinal, class GlobalOrdinal = DefaultGlobalOrdinal, class Node = DefaultNode>
MueLu::HierarchyManager< Scalar, LocalOrdinal, GlobalOrdinal, Node >::suppressNullspaceDimensionCheck_ ( MasterList::getDefault< bool >  "nullspace: suppress dimension check")
template<class Scalar = DefaultScalar, class LocalOrdinal = DefaultLocalOrdinal, class GlobalOrdinal = DefaultGlobalOrdinal, class Node = DefaultNode>
MueLu::HierarchyManager< Scalar, LocalOrdinal, GlobalOrdinal, Node >::sizeOfMultiVectors_ ( MasterList::getDefault< int >  "number of vectors")
template<class Scalar = DefaultScalar, class LocalOrdinal = DefaultLocalOrdinal, class GlobalOrdinal = DefaultGlobalOrdinal, class Node = DefaultNode>
MueLu::HierarchyManager< Scalar, LocalOrdinal, GlobalOrdinal, Node >::graphOutputLevel_ ( 2)
inline

Definition at line 63 of file MueLu_HierarchyManager.hpp.

template<class Scalar , class LocalOrdinal , class GlobalOrdinal , class Node >
void MueLu::HierarchyManager< Scalar, LocalOrdinal, GlobalOrdinal, Node >::AddFactoryManager ( int  startLevel,
int  numDesiredLevel,
RCP< FactoryManagerBase manager 
)
inline

Definition at line 69 of file MueLu_HierarchyManager.hpp.

template<class Scalar , class LocalOrdinal , class GlobalOrdinal , class Node >
RCP< FactoryManagerBase > MueLu::HierarchyManager< Scalar, LocalOrdinal, GlobalOrdinal, Node >::GetFactoryManager ( int  levelID) const
inline

Definition at line 79 of file MueLu_HierarchyManager.hpp.

template<class Scalar , class LocalOrdinal , class GlobalOrdinal , class Node >
size_t MueLu::HierarchyManager< Scalar, LocalOrdinal, GlobalOrdinal, Node >::getNumFactoryManagers ( ) const
inline

returns number of factory managers stored in levelManagers_ vector.

Definition at line 85 of file MueLu_HierarchyManager.hpp.

template<class Scalar , class LocalOrdinal , class GlobalOrdinal , class Node >
void MueLu::HierarchyManager< Scalar, LocalOrdinal, GlobalOrdinal, Node >::CheckConfig ( )
inline

Definition at line 90 of file MueLu_HierarchyManager.hpp.

template<class Scalar , class LocalOrdinal , class GlobalOrdinal , class Node >
RCP< MueLu::Hierarchy< Scalar, LocalOrdinal, GlobalOrdinal, Node > > MueLu::HierarchyManager< Scalar, LocalOrdinal, GlobalOrdinal, Node >::CreateHierarchy ( ) const
inlinevirtual
template<class Scalar , class LocalOrdinal , class GlobalOrdinal , class Node >
RCP< MueLu::Hierarchy< Scalar, LocalOrdinal, GlobalOrdinal, Node > > MueLu::HierarchyManager< Scalar, LocalOrdinal, GlobalOrdinal, Node >::CreateHierarchy ( const std::string &  label) const
inlinevirtual

Create a labeled empty Hierarchy object.

Implements MueLu::HierarchyFactory< Scalar, LocalOrdinal, GlobalOrdinal, Node >.

Definition at line 101 of file MueLu_HierarchyManager.hpp.

template<class Scalar = DefaultScalar, class LocalOrdinal = DefaultLocalOrdinal, class GlobalOrdinal = DefaultGlobalOrdinal, class Node = DefaultNode>
void MueLu::HierarchyManager< Scalar, LocalOrdinal, GlobalOrdinal, Node >::SetNumDesiredLevel ( int  numDesiredLevel)
inline

Set the number of desired levels.

Definition at line 284 of file MueLu_HierarchyManager.hpp.

template<class Scalar = DefaultScalar, class LocalOrdinal = DefaultLocalOrdinal, class GlobalOrdinal = DefaultGlobalOrdinal, class Node = DefaultNode>
int MueLu::HierarchyManager< Scalar, LocalOrdinal, GlobalOrdinal, Node >::GetNumDesiredLevel ( )
inline

Get the number of desired levels.

Definition at line 287 of file MueLu_HierarchyManager.hpp.

template<class Scalar = DefaultScalar, class LocalOrdinal = DefaultLocalOrdinal, class GlobalOrdinal = DefaultGlobalOrdinal, class Node = DefaultNode>
virtual void MueLu::HierarchyManager< Scalar, LocalOrdinal, GlobalOrdinal, Node >::SetupOperator ( Operator &  ) const
inlineprotectedvirtual
template<class Scalar = DefaultScalar, class LocalOrdinal = DefaultLocalOrdinal, class GlobalOrdinal = DefaultGlobalOrdinal, class Node = DefaultNode>
virtual void MueLu::HierarchyManager< Scalar, LocalOrdinal, GlobalOrdinal, Node >::SetupExtra ( Hierarchy ) const
inlineprotectedvirtual

Setup extra data.

Definition at line 299 of file MueLu_HierarchyManager.hpp.

template<class Scalar , class LocalOrdinal , class GlobalOrdinal , class Node >
Teuchos::RCP< FactoryManagerBase > MueLu::HierarchyManager< Scalar, LocalOrdinal, GlobalOrdinal, Node >::LvlMngr ( int  levelID,
int  lastLevelID 
) const
inlineprotected

Definition at line 304 of file MueLu_HierarchyManager.hpp.

template<class Scalar , class LocalOrdinal , class GlobalOrdinal , class Node >
void MueLu::HierarchyManager< Scalar, LocalOrdinal, GlobalOrdinal, Node >::ExportDataSetKeepFlags ( Hierarchy H,
const Teuchos::Array< int > &  data,
const std::string &  name 
) const
inlineprivate

Definition at line 365 of file MueLu_HierarchyManager.hpp.

template<class Scalar , class LocalOrdinal , class GlobalOrdinal , class Node >
void MueLu::HierarchyManager< Scalar, LocalOrdinal, GlobalOrdinal, Node >::ExportDataSetKeepFlagsNextLevel ( Hierarchy H,
const Teuchos::Array< int > &  data,
const std::string &  name 
) const
inlineprivate

Definition at line 375 of file MueLu_HierarchyManager.hpp.

template<class Scalar , class LocalOrdinal , class GlobalOrdinal , class Node >
void MueLu::HierarchyManager< Scalar, LocalOrdinal, GlobalOrdinal, Node >::ExportDataSetKeepFlagsAll ( Hierarchy H,
const std::string &  name 
) const
inlineprivate

Definition at line 386 of file MueLu_HierarchyManager.hpp.

template<class Scalar , class LocalOrdinal , class GlobalOrdinal , class Node >
template<class T >
void MueLu::HierarchyManager< Scalar, LocalOrdinal, GlobalOrdinal, Node >::WriteData ( Hierarchy H,
const Teuchos::Array< int > &  data,
const std::string &  name 
) const
inlineprivate

Definition at line 395 of file MueLu_HierarchyManager.hpp.

template<class Scalar , class LocalOrdinal , class GlobalOrdinal , class Node >
void MueLu::HierarchyManager< Scalar, LocalOrdinal, GlobalOrdinal, Node >::WriteDataAggregates ( Hierarchy H,
const Teuchos::Array< int > &  data,
const std::string &  name 
) const
inlineprivate

Definition at line 422 of file MueLu_HierarchyManager.hpp.

template<class Scalar , class LocalOrdinal , class GlobalOrdinal , class Node >
template<class T >
void MueLu::HierarchyManager< Scalar, LocalOrdinal, GlobalOrdinal, Node >::WriteDataFC ( Hierarchy H,
const Teuchos::Array< int > &  data,
const std::string &  name,
const std::string &  ofname 
) const
inlineprivate

Definition at line 447 of file MueLu_HierarchyManager.hpp.

template<class Scalar , class LocalOrdinal , class GlobalOrdinal , class Node >
template<class T >
void MueLu::HierarchyManager< Scalar, LocalOrdinal, GlobalOrdinal, Node >::WriteFieldContainer ( const std::string &  fileName,
T &  fcont,
const Map &  colMap 
) const
inlineprivate

Definition at line 468 of file MueLu_HierarchyManager.hpp.

template<class Scalar = DefaultScalar, class LocalOrdinal = DefaultLocalOrdinal, class GlobalOrdinal = DefaultGlobalOrdinal, class Node = DefaultNode>
void MueLu::HierarchyManager< Scalar, LocalOrdinal, GlobalOrdinal, Node >::AddFactoryManager ( int  startLevel,
int  numDesiredLevel,
RCP< FactoryManagerBase manager 
)
template<class Scalar = DefaultScalar, class LocalOrdinal = DefaultLocalOrdinal, class GlobalOrdinal = DefaultGlobalOrdinal, class Node = DefaultNode>
RCP<FactoryManagerBase> MueLu::HierarchyManager< Scalar, LocalOrdinal, GlobalOrdinal, Node >::GetFactoryManager ( int  levelID) const
template<class Scalar = DefaultScalar, class LocalOrdinal = DefaultLocalOrdinal, class GlobalOrdinal = DefaultGlobalOrdinal, class Node = DefaultNode>
size_t MueLu::HierarchyManager< Scalar, LocalOrdinal, GlobalOrdinal, Node >::getNumFactoryManagers ( ) const

returns number of factory managers stored in levelManagers_ vector.

template<class Scalar = DefaultScalar, class LocalOrdinal = DefaultLocalOrdinal, class GlobalOrdinal = DefaultGlobalOrdinal, class Node = DefaultNode>
void MueLu::HierarchyManager< Scalar, LocalOrdinal, GlobalOrdinal, Node >::CheckConfig ( )
template<class Scalar = DefaultScalar, class LocalOrdinal = DefaultLocalOrdinal, class GlobalOrdinal = DefaultGlobalOrdinal, class Node = DefaultNode>
virtual RCP<Hierarchy> MueLu::HierarchyManager< Scalar, LocalOrdinal, GlobalOrdinal, Node >::CreateHierarchy ( ) const
virtual
template<class Scalar = DefaultScalar, class LocalOrdinal = DefaultLocalOrdinal, class GlobalOrdinal = DefaultGlobalOrdinal, class Node = DefaultNode>
virtual RCP<Hierarchy> MueLu::HierarchyManager< Scalar, LocalOrdinal, GlobalOrdinal, Node >::CreateHierarchy ( const std::string &  label) const
virtual
template<class Scalar = DefaultScalar, class LocalOrdinal = DefaultLocalOrdinal, class GlobalOrdinal = DefaultGlobalOrdinal, class Node = DefaultNode>
virtual void MueLu::HierarchyManager< Scalar, LocalOrdinal, GlobalOrdinal, Node >::SetupHierarchy ( Hierarchy H) const
virtual
template<class Scalar = DefaultScalar, class LocalOrdinal = DefaultLocalOrdinal, class GlobalOrdinal = DefaultGlobalOrdinal, class Node = DefaultNode>
virtual void MueLu::HierarchyManager< Scalar, LocalOrdinal, GlobalOrdinal, Node >::SetupOperator ( Operator &  ) const
inlineprotectedvirtual
template<class Scalar = DefaultScalar, class LocalOrdinal = DefaultLocalOrdinal, class GlobalOrdinal = DefaultGlobalOrdinal, class Node = DefaultNode>
virtual void MueLu::HierarchyManager< Scalar, LocalOrdinal, GlobalOrdinal, Node >::SetupExtra ( Hierarchy ) const
inlineprotectedvirtual

Setup extra data.

Definition at line 89 of file MueLu_HierarchyManager_decl.hpp.

template<class Scalar = DefaultScalar, class LocalOrdinal = DefaultLocalOrdinal, class GlobalOrdinal = DefaultGlobalOrdinal, class Node = DefaultNode>
Teuchos::RCP<FactoryManagerBase> MueLu::HierarchyManager< Scalar, LocalOrdinal, GlobalOrdinal, Node >::LvlMngr ( int  levelID,
int  lastLevelID 
) const
protected
template<class Scalar = DefaultScalar, class LocalOrdinal = DefaultLocalOrdinal, class GlobalOrdinal = DefaultGlobalOrdinal, class Node = DefaultNode>
void MueLu::HierarchyManager< Scalar, LocalOrdinal, GlobalOrdinal, Node >::ExportDataSetKeepFlags ( Hierarchy H,
const Teuchos::Array< int > &  data,
const std::string &  name 
) const
private
template<class Scalar = DefaultScalar, class LocalOrdinal = DefaultLocalOrdinal, class GlobalOrdinal = DefaultGlobalOrdinal, class Node = DefaultNode>
void MueLu::HierarchyManager< Scalar, LocalOrdinal, GlobalOrdinal, Node >::ExportDataSetKeepFlagsNextLevel ( Hierarchy H,
const Teuchos::Array< int > &  data,
const std::string &  name 
) const
private
template<class Scalar = DefaultScalar, class LocalOrdinal = DefaultLocalOrdinal, class GlobalOrdinal = DefaultGlobalOrdinal, class Node = DefaultNode>
void MueLu::HierarchyManager< Scalar, LocalOrdinal, GlobalOrdinal, Node >::ExportDataSetKeepFlagsAll ( Hierarchy H,
const std::string &  name 
) const
private
template<class Scalar = DefaultScalar, class LocalOrdinal = DefaultLocalOrdinal, class GlobalOrdinal = DefaultGlobalOrdinal, class Node = DefaultNode>
template<class T >
void MueLu::HierarchyManager< Scalar, LocalOrdinal, GlobalOrdinal, Node >::WriteData ( Hierarchy H,
const Teuchos::Array< int > &  data,
const std::string &  name 
) const
private
template<class Scalar = DefaultScalar, class LocalOrdinal = DefaultLocalOrdinal, class GlobalOrdinal = DefaultGlobalOrdinal, class Node = DefaultNode>
void MueLu::HierarchyManager< Scalar, LocalOrdinal, GlobalOrdinal, Node >::WriteDataAggregates ( Hierarchy H,
const Teuchos::Array< int > &  data,
const std::string &  name 
) const
private
template<class Scalar = DefaultScalar, class LocalOrdinal = DefaultLocalOrdinal, class GlobalOrdinal = DefaultGlobalOrdinal, class Node = DefaultNode>
template<class T >
void MueLu::HierarchyManager< Scalar, LocalOrdinal, GlobalOrdinal, Node >::WriteDataFC ( Hierarchy H,
const Teuchos::Array< int > &  data,
const std::string &  name,
const std::string &  ofname 
) const
private
template<class Scalar = DefaultScalar, class LocalOrdinal = DefaultLocalOrdinal, class GlobalOrdinal = DefaultGlobalOrdinal, class Node = DefaultNode>
template<class T >
void MueLu::HierarchyManager< Scalar, LocalOrdinal, GlobalOrdinal, Node >::WriteFieldContainer ( const std::string &  fileName,
T &  fcont,
const Map &  colMap 
) const
private

Member Data Documentation

template<class Scalar = DefaultScalar, class LocalOrdinal = DefaultLocalOrdinal, class GlobalOrdinal = DefaultGlobalOrdinal, class Node = DefaultNode>
MueLu::HierarchyManager< Scalar, LocalOrdinal, GlobalOrdinal, Node >::__pad0__

Constructor.

Definition at line 55 of file MueLu_HierarchyManager.hpp.

template<class Scalar = DefaultScalar, class LocalOrdinal = DefaultLocalOrdinal, class GlobalOrdinal = DefaultGlobalOrdinal, class Node = DefaultNode>
int MueLu::HierarchyManager< Scalar, LocalOrdinal, GlobalOrdinal, Node >::numDesiredLevel_
mutableprotected

Hierarchy parameters

Definition at line 323 of file MueLu_HierarchyManager.hpp.

template<class Scalar = DefaultScalar, class LocalOrdinal = DefaultLocalOrdinal, class GlobalOrdinal = DefaultGlobalOrdinal, class Node = DefaultNode>
Xpetra::global_size_t MueLu::HierarchyManager< Scalar, LocalOrdinal, GlobalOrdinal, Node >::maxCoarseSize_
protected

Definition at line 324 of file MueLu_HierarchyManager.hpp.

template<class Scalar = DefaultScalar, class LocalOrdinal = DefaultLocalOrdinal, class GlobalOrdinal = DefaultGlobalOrdinal, class Node = DefaultNode>
MsgType MueLu::HierarchyManager< Scalar, LocalOrdinal, GlobalOrdinal, Node >::verbosity_
protected

Definition at line 325 of file MueLu_HierarchyManager.hpp.

template<class Scalar = DefaultScalar, class LocalOrdinal = DefaultLocalOrdinal, class GlobalOrdinal = DefaultGlobalOrdinal, class Node = DefaultNode>
bool MueLu::HierarchyManager< Scalar, LocalOrdinal, GlobalOrdinal, Node >::doPRrebalance_
protected

Definition at line 327 of file MueLu_HierarchyManager.hpp.

template<class Scalar = DefaultScalar, class LocalOrdinal = DefaultLocalOrdinal, class GlobalOrdinal = DefaultGlobalOrdinal, class Node = DefaultNode>
bool MueLu::HierarchyManager< Scalar, LocalOrdinal, GlobalOrdinal, Node >::doPRViaCopyrebalance_
protected

Definition at line 328 of file MueLu_HierarchyManager.hpp.

template<class Scalar = DefaultScalar, class LocalOrdinal = DefaultLocalOrdinal, class GlobalOrdinal = DefaultGlobalOrdinal, class Node = DefaultNode>
bool MueLu::HierarchyManager< Scalar, LocalOrdinal, GlobalOrdinal, Node >::implicitTranspose_
protected

Definition at line 329 of file MueLu_HierarchyManager.hpp.

template<class Scalar = DefaultScalar, class LocalOrdinal = DefaultLocalOrdinal, class GlobalOrdinal = DefaultGlobalOrdinal, class Node = DefaultNode>
bool MueLu::HierarchyManager< Scalar, LocalOrdinal, GlobalOrdinal, Node >::fuseProlongationAndUpdate_
protected

Definition at line 330 of file MueLu_HierarchyManager.hpp.

template<class Scalar = DefaultScalar, class LocalOrdinal = DefaultLocalOrdinal, class GlobalOrdinal = DefaultGlobalOrdinal, class Node = DefaultNode>
bool MueLu::HierarchyManager< Scalar, LocalOrdinal, GlobalOrdinal, Node >::suppressNullspaceDimensionCheck_
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 338 of file MueLu_HierarchyManager.hpp.

template<class Scalar = DefaultScalar, class LocalOrdinal = DefaultLocalOrdinal, class GlobalOrdinal = DefaultGlobalOrdinal, class Node = DefaultNode>
int MueLu::HierarchyManager< Scalar, LocalOrdinal, GlobalOrdinal, Node >::sizeOfMultiVectors_
protected

Definition at line 340 of file MueLu_HierarchyManager.hpp.

template<class Scalar = DefaultScalar, class LocalOrdinal = DefaultLocalOrdinal, class GlobalOrdinal = DefaultGlobalOrdinal, class Node = DefaultNode>
int MueLu::HierarchyManager< Scalar, LocalOrdinal, GlobalOrdinal, Node >::graphOutputLevel_
protected

-2 = no output, -1 = all levels

Definition at line 343 of file MueLu_HierarchyManager.hpp.

template<class Scalar = DefaultScalar, class LocalOrdinal = DefaultLocalOrdinal, class GlobalOrdinal = DefaultGlobalOrdinal, class Node = DefaultNode>
Teuchos::Array< int > MueLu::HierarchyManager< Scalar, LocalOrdinal, GlobalOrdinal, Node >::nullspaceToPrint_
protected

Lists of entities to be exported (or saved)

Definition at line 347 of file MueLu_HierarchyManager.hpp.

template<class Scalar = DefaultScalar, class LocalOrdinal = DefaultLocalOrdinal, class GlobalOrdinal = DefaultGlobalOrdinal, class Node = DefaultNode>
Teuchos::Array< int > MueLu::HierarchyManager< Scalar, LocalOrdinal, GlobalOrdinal, Node >::coordinatesToPrint_
protected

Definition at line 348 of file MueLu_HierarchyManager.hpp.

template<class Scalar = DefaultScalar, class LocalOrdinal = DefaultLocalOrdinal, class GlobalOrdinal = DefaultGlobalOrdinal, class Node = DefaultNode>
Teuchos::Array< int > MueLu::HierarchyManager< Scalar, LocalOrdinal, GlobalOrdinal, Node >::aggregatesToPrint_
protected

Definition at line 349 of file MueLu_HierarchyManager.hpp.

template<class Scalar = DefaultScalar, class LocalOrdinal = DefaultLocalOrdinal, class GlobalOrdinal = DefaultGlobalOrdinal, class Node = DefaultNode>
Teuchos::Array< int > MueLu::HierarchyManager< Scalar, LocalOrdinal, GlobalOrdinal, Node >::elementToNodeMapsToPrint_
protected

Definition at line 350 of file MueLu_HierarchyManager.hpp.

template<class Scalar = DefaultScalar, class LocalOrdinal = DefaultLocalOrdinal, class GlobalOrdinal = DefaultGlobalOrdinal, class Node = DefaultNode>
Teuchos::Array<std::string> MueLu::HierarchyManager< Scalar, LocalOrdinal, GlobalOrdinal, Node >::dataToKeep_
protected

Definition at line 353 of file MueLu_HierarchyManager.hpp.

template<class Scalar = DefaultScalar, class LocalOrdinal = DefaultLocalOrdinal, class GlobalOrdinal = DefaultGlobalOrdinal, class Node = DefaultNode>
std::map< std::string, Teuchos::Array< int > > MueLu::HierarchyManager< Scalar, LocalOrdinal, GlobalOrdinal, Node >::matricesToPrint_
protected

Definition at line 356 of file MueLu_HierarchyManager.hpp.

template<class Scalar = DefaultScalar, class LocalOrdinal = DefaultLocalOrdinal, class GlobalOrdinal = DefaultGlobalOrdinal, class Node = DefaultNode>
Teuchos::RCP< Teuchos::ParameterList > MueLu::HierarchyManager< Scalar, LocalOrdinal, GlobalOrdinal, Node >::matvecParams_
protected

Definition at line 358 of file MueLu_HierarchyManager.hpp.

template<class Scalar = DefaultScalar, class LocalOrdinal = DefaultLocalOrdinal, class GlobalOrdinal = DefaultGlobalOrdinal, class Node = DefaultNode>
std::map< int, std::vector< keep_pair > > MueLu::HierarchyManager< Scalar, LocalOrdinal, GlobalOrdinal, Node >::keep_
protected

Definition at line 360 of file MueLu_HierarchyManager.hpp.

template<class Scalar = DefaultScalar, class LocalOrdinal = DefaultLocalOrdinal, class GlobalOrdinal = DefaultGlobalOrdinal, class Node = DefaultNode>
Array< RCP< FactoryManagerBase > > MueLu::HierarchyManager< Scalar, LocalOrdinal, GlobalOrdinal, Node >::levelManagers_
private

Definition at line 488 of file MueLu_HierarchyManager.hpp.

template<class Scalar = DefaultScalar, class LocalOrdinal = DefaultLocalOrdinal, class GlobalOrdinal = DefaultGlobalOrdinal, class Node = DefaultNode>
Teuchos::Array<std::string> MueLu::HierarchyManager< Scalar, LocalOrdinal, GlobalOrdinal, Node >::dataToSave_
protected

Definition at line 129 of file MueLu_HierarchyManager_decl.hpp.


The documentation for this class was generated from the following files: