20 #ifndef TEMPERATUREMODEL_H
21 #define TEMPERATUREMODEL_H
23 #include "pism/energy/EnergyModel.hh"
31 std::shared_ptr<const stressbalance::StressBalance> stress_balance);
57 const double z,
const double dz,
58 double *Texcess,
double *bwat)
const;
std::shared_ptr< const Grid > grid() const
High-level PISM I/O class.
A virtual class collecting methods common to ice and bedrock 3D fields.
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
void write_model_state_impl(const File &output) const
The default (empty implementation).
const array::Array3D & temperature() const
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)
void define_model_state_impl(const File &output) const
The default (empty implementation).
array::Array3D m_ice_temperature
void restart_impl(const File &input_file, int record)
virtual void update_impl(double t, double dt, const Inputs &inputs)=0
TemperatureModel(std::shared_ptr< const Grid > grid, std::shared_ptr< const stressbalance::StressBalance > stress_balance)
void column_drainage(const double rho, const double c, const double L, const double z, const double dz, double *Texcess, double *bwat) const
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)