GRINS-0.8.0
List of all members | Public Member Functions | Static Public Member Functions | Protected Member Functions | Static Protected Attributes
GRINS::FactoryWithGetPot< Base > Class Template Reference

Abstract factory that provides availability of GetPot. More...

#include <factory_with_getpot.h>

Inheritance diagram for GRINS::FactoryWithGetPot< Base >:
Inheritance graph
[legend]
Collaboration diagram for GRINS::FactoryWithGetPot< Base >:
Collaboration graph
[legend]

Public Member Functions

 FactoryWithGetPot (const std::string &name)
 
 ~FactoryWithGetPot ()
 
- Public Member Functions inherited from GRINS::FactoryAbstract< Base >
virtual ~FactoryAbstract ()
 
virtual libMesh::UniquePtr< Base > create ()=0
 Subclasses implement the actual construction of the Base object in create(). More...
 

Static Public Member Functions

static void set_getpot (const GetPot &input)
 
- Static Public Member Functions inherited from GRINS::FactoryAbstract< Base >
static libMesh::UniquePtr< Base > build (const std::string &name)
 Use this method to build objects of type Base. More...
 

Protected Member Functions

template<>
const GetPot * _input
 
template<>
const GetPot * _input
 
template<>
const GetPot * _input
 
template<>
const GetPot * _input
 
template<>
const GetPot * _input
 
template<>
const GetPot * _input
 
template<>
const GetPot * _input
 
template<>
const GetPot * _input
 
template<>
const GetPot * _input
 
template<>
const GetPot * _input
 
template<>
const GetPot * _input
 
template<>
const GetPot * _input
 
template<>
const GetPot * _input
 
- Protected Member Functions inherited from GRINS::FactoryAbstract< Base >
 FactoryAbstract (const std::string &name)
 Constructor is protected. Use the build() method to construct Base objects. More...
 
template<>
std::map< std::string, FactoryAbstract< CatalycityBase > * > & factory_map ()
 
template<>
std::map< std::string, FactoryAbstract< libMesh::DirichletBoundary > * > & factory_map ()
 
template<>
std::map< std::string, FactoryAbstract< NeumannBCContainer > * > & factory_map ()
 
template<>
std::map< std::string, FactoryAbstract< Physics > * > & factory_map ()
 
template<>
std::map< std::string, FactoryAbstract< Solver > * > & factory_map ()
 
template<>
std::map< std::string, FactoryAbstract< libMesh::ErrorEstimator > * > & factory_map ()
 
template<>
std::map< std::string, FactoryAbstract< FEVariablesBase > * > & factory_map ()
 

Static Protected Attributes

static const GetPot * _input
 We store only a raw pointer here because we can't make a copy. More...
 

Additional Inherited Members

- Static Protected Member Functions inherited from GRINS::FactoryAbstract< Base >
static FactoryAbstract< Base > & get_factory (const std::string &name)
 Helper method that looks up the factory and returns it if present, or error if it's not. More...
 
template<typename DerivedType >
static DerivedType & get_factory_subclass (const std::string &name)
 Like get_factory, but will downcast to DerivedType. More...
 
static std::map< std::string, FactoryAbstract< Base > * > & factory_map ()
 

Detailed Description

template<typename Base>
class GRINS::FactoryWithGetPot< Base >

Abstract factory that provides availability of GetPot.

Definition at line 38 of file factory_with_getpot.h.

Constructor & Destructor Documentation

template<typename Base>
GRINS::FactoryWithGetPot< Base >::FactoryWithGetPot ( const std::string &  name)
inline

Definition at line 41 of file factory_with_getpot.h.

42  : FactoryAbstract<Base>(name)
43  {}
template<typename Base>
GRINS::FactoryWithGetPot< Base >::~FactoryWithGetPot ( )
inline

Definition at line 45 of file factory_with_getpot.h.

45 {};

Member Function Documentation

template<>
const GetPot * GRINS::FactoryWithGetPot< CatalycityBase >::_input ( )
protected
template<>
const GetPot * GRINS::FactoryWithGetPot< Solver >::_input ( )
protected

Definition at line 36 of file solver_factory_abstract.h.

template<>
const GetPot * GRINS::FactoryWithGetPot< NeumannBCContainer >::_input ( )
protected

Definition at line 36 of file neumann_bc_factory_abstract.h.

template<>
const GetPot * GRINS::FactoryWithGetPot< Physics >::_input ( )
protected

Definition at line 37 of file physics_factory_base.h.

template<>
const GetPot * GRINS::FactoryWithGetPot< libMesh::ErrorEstimator >::_input ( )
protected

Definition at line 40 of file error_estimator_factory_base.h.

template<>
const GetPot * GRINS::FactoryWithGetPot< FEVariablesBase >::_input ( )
protected

Definition at line 40 of file variable_factory.h.

template<>
const GetPot * GRINS::FactoryWithGetPot< CatalycityBase >::_input ( )
protected

Definition at line 41 of file catalycity_factory_abstract.C.

template<>
const GetPot * GRINS::FactoryWithGetPot< libMesh::DirichletBoundary >::_input ( )
protected

Definition at line 41 of file dirichlet_bc_factory_abstract.C.

template<>
const GetPot * GRINS::FactoryWithGetPot< libMesh::ErrorEstimator >::_input ( )
protected

Definition at line 41 of file error_estimator_factory_base.C.

template<>
const GetPot * GRINS::FactoryWithGetPot< Physics >::_input ( )
protected

Definition at line 44 of file physics_factory_base.C.

template<>
const GetPot * GRINS::FactoryWithGetPot< Solver >::_input ( )
protected

Definition at line 49 of file solver_factory_abstract.C.

template<>
const GetPot * GRINS::FactoryWithGetPot< NeumannBCContainer >::_input ( )
protected

Definition at line 85 of file neumann_bc_factory_abstract.C.

template<>
const GetPot * GRINS::FactoryWithGetPot< FEVariablesBase >::_input ( )
protected

Definition at line 133 of file variable_factory.C.

template<typename Base>
static void GRINS::FactoryWithGetPot< Base >::set_getpot ( const GetPot &  input)
inlinestatic

Definition at line 47 of file factory_with_getpot.h.

48  { _input = &input; }

Member Data Documentation

template<typename Base>
const GetPot* GRINS::FactoryWithGetPot< Base >::_input
staticprotected

We store only a raw pointer here because we can't make a copy.

Otherwise, the UFO detection will be all screwed. We are not taking ownership of this, so we need to not delete this.

Definition at line 55 of file factory_with_getpot.h.


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

Generated on Tue Dec 19 2017 12:47:30 for GRINS-0.8.0 by  doxygen 1.8.9.1