20 #ifndef ENTHALPYMODEL_H
21 #define ENTHALPYMODEL_H
23 #include "pism/energy/EnergyModel.hh"
32 std::shared_ptr<const stressbalance::StressBalance> stress_balance);
60 std::shared_ptr<const stressbalance::StressBalance> stress_balance);
std::shared_ptr< const Grid > grid() const
High-level PISM I/O class.
Combines the max. time step with the flag indicating if a restriction is active. Makes is possible to...
DummyEnergyModel(std::shared_ptr< const Grid > grid, std::shared_ptr< const stressbalance::StressBalance > stress_balance)
void restart_impl(const File &input_file, int record)
void bootstrap_impl(const File &input_file, const array::Scalar &ice_thickness, const array::Scalar &surface_temperature, const array::Scalar &climatic_mass_balance, const array::Scalar &basal_heat_flux)
virtual void update_impl(double t, double dt, const Inputs &inputs)=0
MaxTimestep max_timestep_impl(double t) const
The "dummy" energy balance model. Reads in enthalpy from a file, but does not update it.
const array::Scalar & basal_melt_rate() const
Basal melt rate in grounded areas. (It is set to zero elsewhere.)
virtual void update_impl(double t, double dt, const Inputs &inputs)=0
virtual void initialize_impl(const array::Scalar &basal_melt_rate, const array::Scalar &ice_thickness, const array::Scalar &surface_temperature, const array::Scalar &climatic_mass_balance, const array::Scalar &basal_heat_flux)
virtual void restart_impl(const File &input_file, int record)
virtual void bootstrap_impl(const File &input_file, const array::Scalar &ice_thickness, const array::Scalar &surface_temperature, const array::Scalar &climatic_mass_balance, const array::Scalar &basal_heat_flux)
virtual void write_model_state_impl(const File &output) const
The default (empty implementation).
EnthalpyModel(std::shared_ptr< const Grid > grid, std::shared_ptr< const stressbalance::StressBalance > stress_balance)
virtual void define_model_state_impl(const File &output) const
The default (empty implementation).
virtual void update_impl(double t, double dt, const Inputs &inputs)=0
The enthalpy-based energy balance model.