MueLu Version of the Day
Loading...
Searching...
No Matches
MueLu::NoFactory Class Reference

NoFactory that is used for data stored in level class for that no generating factory is available/necessary. More...

#include <MueLu_NoFactory.hpp>

Inheritance diagram for MueLu::NoFactory:
MueLu::FactoryBase MueLu::BaseClass MueLu::VerboseObject MueLu::Describable

Public Member Functions

virtual ~NoFactory ()
 Destructor.
 
void CallBuild (Level &requestedLevel) const
 Implementation of FactoryBase interface.
 
void CallDeclareInput (Level &) const
 
- Public Member Functions inherited from MueLu::FactoryBase
 FactoryBase ()
 Constructor.
 
virtual ~FactoryBase ()
 Destructor.
 
int GetID () const
 return unique factory id
 
- 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.
 

Static Public Member Functions

static const RCP< const NoFactorygetRCP ()
 Static Get() functions.
 
static const NoFactoryget ()
 
- 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 ()
 

Private Member Functions

 NoFactory ()
 Constructor.
 

Static Private Attributes

static RCP< const NoFactorynoFactory_ = Teuchos::null
 

Detailed Description

NoFactory that is used for data stored in level class for that no generating factory is available/necessary.

This should be used as the "generating" factory for user-data. Uses Singleton pattern.

Definition at line 65 of file MueLu_NoFactory.hpp.

Constructor & Destructor Documentation

◆ NoFactory()

MueLu::NoFactory::NoFactory ( )
inlineprivate

Constructor.

Definition at line 68 of file MueLu_NoFactory.hpp.

◆ ~NoFactory()

virtual MueLu::NoFactory::~NoFactory ( )
inlinevirtual

Destructor.

Definition at line 73 of file MueLu_NoFactory.hpp.

Member Function Documentation

◆ CallBuild()

void MueLu::NoFactory::CallBuild ( Level & requestedLevel) const
virtual

Implementation of FactoryBase interface.

Implements MueLu::FactoryBase.

Definition at line 65 of file MueLu_NoFactory.cpp.

◆ CallDeclareInput()

void MueLu::NoFactory::CallDeclareInput ( Level & ) const
inlinevirtual

Implements MueLu::FactoryBase.

Definition at line 82 of file MueLu_NoFactory.hpp.

◆ getRCP()

static const RCP< const NoFactory > MueLu::NoFactory::getRCP ( )
inlinestatic

Static Get() functions.

Definition at line 90 of file MueLu_NoFactory.hpp.

◆ get()

const NoFactory * MueLu::NoFactory::get ( )
static

Definition at line 59 of file MueLu_NoFactory.cpp.

Member Data Documentation

◆ noFactory_

RCP< const NoFactory > MueLu::NoFactory::noFactory_ = Teuchos::null
staticprivate

Definition at line 106 of file MueLu_NoFactory.hpp.


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