PISM, A Parallel Ice Sheet Model 2.2.2-d6b3a29ca committed by Constantine Khrulev on 2025-03-28
|
#include <Factory.hh>
Public Member Functions | |
Factory (std::shared_ptr< const Grid > grid) | |
~Factory ()=default | |
![]() | |
PCFactory (std::shared_ptr< const Grid > g, const std::string ¶meter) | |
~PCFactory () | |
virtual std::shared_ptr< ocean::sea_level::SeaLevel > | create () |
Creates a boundary model. Processes command-line options. | |
virtual std::shared_ptr< ocean::sea_level::SeaLevel > | create (const std::string &type) |
Creates a boundary model. | |
void | validate (const std::string &list) const |
Additional Inherited Members | |
![]() | |
void | add_model (const std::string &name) |
Adds a boundary model to the dictionary. | |
void | add_modifier (const std::string &name) |
std::string | key_list (std::map< std::string, T > list) const |
std::shared_ptr< ocean::sea_level::SeaLevel > | model (const std::string &type) |
std::shared_ptr< ocean::sea_level::SeaLevel > | modifier (const std::string &type, std::shared_ptr< T > input) |
![]() | |
std::string | m_parameter |
std::map< std::string, std::shared_ptr< ModelCreator > > | m_models |
std::map< std::string, std::shared_ptr< ModifierCreator > > | m_modifiers |
std::shared_ptr< const Grid > | m_grid |
Definition at line 29 of file Factory.hh.