PISM, A Parallel Ice Sheet Model
stable v2.1.1 committed by Constantine Khrulev on 2024-12-04 13:36:58 -0900
|
#include <Factory.hh>
Public Member Functions | |
Factory (std::shared_ptr< const Grid > grid) | |
~Factory ()=default | |
Public Member Functions inherited from pism::PCFactory< ocean::sea_level::SeaLevel > | |
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. More... | |
virtual std::shared_ptr< ocean::sea_level::SeaLevel > | create (const std::string &type) |
Creates a boundary model. More... | |
void | validate (const std::string &list) const |
Additional Inherited Members | |
Protected Member Functions inherited from pism::PCFactory< ocean::sea_level::SeaLevel > | |
void | add_model (const std::string &name) |
Adds a boundary model to the dictionary. More... | |
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) |
Protected Attributes inherited from pism::PCFactory< ocean::sea_level::SeaLevel > | |
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.