19 #ifndef _PSFORCETHICKNESS_H_
20 #define _PSFORCETHICKNESS_H_
22 #include "pism/coupler/SurfaceModel.hh"
23 #include "pism/util/array/Scalar.hh"
33 ForceThickness(std::shared_ptr<const Grid>
g, std::shared_ptr<SurfaceModel> input);
const Time & time() 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...
"Cell type" mask. Adds convenience methods to array::Scalar.
void adjust_mass_flux(double time, const array::Scalar &ice_thickness, const array::CellType &cell_type, array::Scalar &result) const
const array::Scalar & melt_impl() const
const array::Scalar & accumulation_impl() const
std::shared_ptr< array::Scalar > m_mass_flux
void write_model_state_impl(const File &output) const
The default (empty implementation).
MaxTimestep max_timestep_impl(double t) const
void define_model_state_impl(const File &output) const
The default (empty implementation).
double m_ice_free_thickness_threshold
void init_impl(const Geometry &geometry)
double m_alpha_ice_free_factor
array::Scalar m_target_thickness
const array::Scalar & runoff_impl() const
void update_impl(const Geometry &geometry, double t, double dt)
ForceThickness(std::shared_ptr< const Grid > g, std::shared_ptr< SurfaceModel > input)
const array::Scalar & mass_flux_impl() const
virtual ~ForceThickness()=default
The interface of PISM's surface models.