MueLu Version of the Day
Loading...
Searching...
No Matches
MueLu::FactoryManagerBase Class Referenceabstract

Class that provides default factories within Needs class. More...

#include <MueLu_FactoryManagerBase.hpp>

Inheritance diagram for MueLu::FactoryManagerBase:
MueLu::BaseClass MueLu::VerboseObject MueLu::Describable MueLu::FactoryManager< Scalar, LocalOrdinal, GlobalOrdinal, Node >

Public Member Functions

 FactoryManagerBase ()
 
virtual ~FactoryManagerBase ()
 Destructor.
 
virtual const RCP< const FactoryBaseGetFactory (const std::string &varName) const =0
 Get.
 
virtual bool hasFactory (const std::string &varName) const =0
 Check.
 
virtual void Clean () const
 
bool IgnoreUserData () const
 get IgnoreUserData flag
 
void SetIgnoreUserData (bool bIgnoreUserData=false)
 set IgnoreUserData flag
 
- 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.
 

Private Attributes

bool bIgnoreUserData_
 

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 ()
 

Detailed Description

Class that provides default factories within Needs class.

Definition at line 63 of file MueLu_FactoryManagerBase.hpp.

Constructor & Destructor Documentation

◆ FactoryManagerBase()

MueLu::FactoryManagerBase::FactoryManagerBase ( )
inline

Definition at line 67 of file MueLu_FactoryManagerBase.hpp.

◆ ~FactoryManagerBase()

virtual MueLu::FactoryManagerBase::~FactoryManagerBase ( )
inlinevirtual

Destructor.

Definition at line 70 of file MueLu_FactoryManagerBase.hpp.

Member Function Documentation

◆ GetFactory()

virtual const RCP< const FactoryBase > MueLu::FactoryManagerBase::GetFactory ( const std::string &  varName) const
pure virtual

◆ hasFactory()

virtual bool MueLu::FactoryManagerBase::hasFactory ( const std::string &  varName) const
pure virtual

◆ Clean()

virtual void MueLu::FactoryManagerBase::Clean ( ) const
inlinevirtual

◆ IgnoreUserData()

bool MueLu::FactoryManagerBase::IgnoreUserData ( ) const
inline

get IgnoreUserData flag

Definition at line 94 of file MueLu_FactoryManagerBase.hpp.

◆ SetIgnoreUserData()

void MueLu::FactoryManagerBase::SetIgnoreUserData ( bool  bIgnoreUserData = false)
inline

set IgnoreUserData flag

Definition at line 97 of file MueLu_FactoryManagerBase.hpp.

Member Data Documentation

◆ bIgnoreUserData_

bool MueLu::FactoryManagerBase::bIgnoreUserData_
private

boolean flag that controls behaviour of Level::GetFactory if bIgnoreUserData == true, the Level::GetFactory function always asks the Factory manager for a valid factory given a variable name if bIgnoreUserData == false, the Level::GetFactory prefers user-provided data for a variable name if available. Otherwise the factory manager is asked for a valid factory default: bIgnoreUserData = false;

Definition at line 104 of file MueLu_FactoryManagerBase.hpp.


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