22 #include "pism/coupler/AtmosphereModel.hh"
39 "* Initializing the simplest PISM surface (snow) processes model Simple.\n"
40 " It passes atmospheric state directly to upper ice fluid surface:\n"
41 " surface mass balance := precipitation,\n"
42 " ice upper surface temperature := 2m air temperature.\n");
const Logger::ConstPtr m_log
logger (for easy access)
std::shared_ptr< const IceGrid > ConstPtr
const IceModelVec2S & runoff_impl() const
IceModelVec2S::Ptr m_mass_flux
const IceModelVec2S & accumulation_impl() const
const IceModelVec2S & temperature_impl() const
const IceModelVec2S & mass_flux_impl() const
IceModelVec2S::Ptr m_temperature
virtual void update_impl(const Geometry &geometry, double t, double dt)
Simple(IceGrid::ConstPtr g, std::shared_ptr< atmosphere::AtmosphereModel > atmosphere)
const IceModelVec2S & melt_impl() const
virtual void init_impl(const Geometry &geometry)
static IceModelVec2S::Ptr allocate_mass_flux(IceGrid::ConstPtr grid)
std::shared_ptr< atmosphere::AtmosphereModel > m_atmosphere
IceModelVec2S::Ptr m_melt
IceModelVec2S::Ptr m_accumulation
static IceModelVec2S::Ptr allocate_temperature(IceGrid::ConstPtr grid)
void dummy_accumulation(const IceModelVec2S &smb, IceModelVec2S &result)
IceModelVec2S::Ptr m_runoff
void dummy_runoff(const IceModelVec2S &smb, IceModelVec2S &result)
void dummy_melt(const IceModelVec2S &smb, IceModelVec2S &result)
The interface of PISM's surface models.