GRINS-0.8.0
List of all members | Public Member Functions | Protected Member Functions | Private Member Functions
GRINS::SolverFactoryBasic< DerivedSolver > Class Template Reference

#include <solver_factory_basic.h>

Inheritance diagram for GRINS::SolverFactoryBasic< DerivedSolver >:
Inheritance graph
[legend]
Collaboration diagram for GRINS::SolverFactoryBasic< DerivedSolver >:
Collaboration graph
[legend]

Public Member Functions

 SolverFactoryBasic (const std::string &bc_type_name)
 
virtual ~SolverFactoryBasic ()
 
- Public Member Functions inherited from GRINS::SolverFactoryAbstract
 SolverFactoryAbstract (const std::string &bc_type_name)
 
virtual ~SolverFactoryAbstract ()=0
 
- Public Member Functions inherited from GRINS::FactoryWithGetPot< Solver >
 FactoryWithGetPot (const std::string &name)
 
 ~FactoryWithGetPot ()
 
- Public Member Functions inherited from GRINS::FactoryAbstract< Solver >
virtual ~FactoryAbstract ()
 

Protected Member Functions

virtual libMesh::UniquePtr< Solverbuild_solver (const GetPot &input)
 
- Protected Member Functions inherited from GRINS::FactoryAbstract< Solver >
 FactoryAbstract (const std::string &name)
 Constructor is protected. Use the build() method to construct Base objects. More...
 

Private Member Functions

 SolverFactoryBasic ()
 

Additional Inherited Members

- Static Public Member Functions inherited from GRINS::FactoryWithGetPot< Solver >
static void set_getpot (const GetPot &input)
 
- Static Public Member Functions inherited from GRINS::FactoryAbstract< Solver >
static libMesh::UniquePtr< Solverbuild (const std::string &name)
 Use this method to build objects of type Base. More...
 
- Static Protected Member Functions inherited from GRINS::FactoryAbstract< Solver >
static FactoryAbstract< Solver > & 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...
 
static DerivedType & get_factory_subclass (const std::string &name)
 Like get_factory, but will downcast to DerivedType. More...
 
static std::map< std::string, FactoryAbstract< Solver > * > & factory_map ()
 
- Static Protected Attributes inherited from GRINS::FactoryWithGetPot< Solver >
static const GetPot * _input
 We store only a raw pointer here because we can't make a copy. More...
 

Detailed Description

template<typename DerivedSolver>
class GRINS::SolverFactoryBasic< DerivedSolver >

Definition at line 33 of file solver_factory_basic.h.

Constructor & Destructor Documentation

template<typename DerivedSolver>
GRINS::SolverFactoryBasic< DerivedSolver >::SolverFactoryBasic ( const std::string &  bc_type_name)
inline

Definition at line 36 of file solver_factory_basic.h.

37  : SolverFactoryAbstract(bc_type_name)
38  {}
template<typename DerivedSolver>
virtual GRINS::SolverFactoryBasic< DerivedSolver >::~SolverFactoryBasic ( )
inlinevirtual

Definition at line 40 of file solver_factory_basic.h.

40 {}
template<typename DerivedSolver>
GRINS::SolverFactoryBasic< DerivedSolver >::SolverFactoryBasic ( )
private

Member Function Documentation

template<typename DerivedSolver >
libMesh::UniquePtr< Solver > GRINS::SolverFactoryBasic< DerivedSolver >::build_solver ( const GetPot &  input)
inlineprotectedvirtual

Implements GRINS::SolverFactoryAbstract.

Definition at line 54 of file solver_factory_basic.h.

55  {
56  return libMesh::UniquePtr<Solver>( new DerivedSolver(input) );
57  }

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

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