19 #ifndef PISM_SURFACE_FACTORY
20 #define PISM_SURFACE_FACTORY
22 #include "pism/coupler/SurfaceModel.hh"
23 #include "pism/coupler/util/PCFactory.hh"
45 std::shared_ptr<SurfaceModel>
create(std::shared_ptr<const Grid> grid) {
46 return std::make_shared<M>(grid,
m_input);
SurfaceModelCreator(AtmospherePtr input)
std::shared_ptr< SurfaceModel > create(std::shared_ptr< const Grid > grid)
Factory(std::shared_ptr< const Grid > g, AtmospherePtr input)
std::shared_ptr< atmosphere::AtmosphereModel > AtmospherePtr
void add_surface_model(const std::string &name)