19 #include "pism/util/MaxTimestep.hh"
20 #include "pism/util/io/File.hh"
21 #include "pism/icebin/IBSurfaceModel.hh"
28 massxfer(grid,
"massxfer"),
29 enthxfer(grid,
"enthxfer"),
30 deltah(grid,
"deltah"),
31 ice_top_bc_temp(grid,
"ice_top_bc_temp"),
32 ice_top_bc_wc(grid,
"ice_top_bc_wc") {
35 .
long_name(
"Mass of ice being transferred Stieglitz --> Icebin")
40 .
long_name(
"Enthalpy of ice being transferred Stieglitz --> Icebin")
46 "enthalpy of constant-in-time ice-equivalent surface mass balance (accumulation/ablation) rate")
57 m_log->message(2,
"* Initializing the IceBin interface surface model IBSurfaceModel.\n"
58 " IceBin changes its state when surface conditions change.\n");
const Logger::ConstPtr m_log
logger (for easy access)
High-level PISM I/O class.
Combines the max. time step with the flag indicating if a restriction is active. Makes is possible to...
SpatialVariableMetadata & metadata(unsigned int N=0)
Returns a reference to the SpatialVariableMetadata object containing metadata for the compoment N.
pism::array::Scalar enthxfer
MaxTimestep max_timestep_impl(double t) const
const array::Scalar & liquid_water_fraction_impl() const
pism::array::Scalar massxfer
void define_model_state_impl(const File &output) const
The default (empty implementation).
pism::array::Scalar ice_top_bc_wc
pism::array::Scalar deltah
const array::Scalar & melt_impl() const
const array::Scalar & accumulation_impl() const
const array::Scalar & mass_flux_impl() const
void write_model_state_impl(const File &output) const
The default (empty implementation).
void update_impl(const Geometry &geometry, double my_t, double my_dt)
void init_impl(const Geometry &geometry)
pism::array::Scalar ice_top_bc_temp
const array::Scalar & runoff_impl() const
const array::Scalar & temperature_impl() const
IBSurfaceModel(std::shared_ptr< const pism::Grid > grid)
void dummy_accumulation(const array::Scalar &smb, array::Scalar &result)
std::shared_ptr< array::Scalar > m_melt
std::shared_ptr< array::Scalar > m_runoff
void dummy_melt(const array::Scalar &smb, array::Scalar &result)
std::shared_ptr< array::Scalar > m_accumulation
void dummy_runoff(const array::Scalar &smb, array::Scalar &result)