20 #ifndef FRONTRETREAT_H
21 #define FRONTRETREAT_H
23 #include "pism/util/Component.hh"
24 #include "pism/util/array/CellType.hh"
25 #include "pism/util/MaxTimestep.hh"
A class defining a common interface for most PISM sub-models.
void update_geometry(double dt, const Geometry &geometry, const array::Scalar1 &bc_mask, const array::Scalar &retreat_rate, array::Scalar &Href, array::Scalar1 &ice_thickness)
array::CellType1 m_cell_type
MaxTimestep max_timestep(const array::CellType1 &cell_type, const array::Scalar &bc_mask, const array::Scalar &retreat_rate) const
FrontRetreat(std::shared_ptr< const Grid > g)
void compute_modified_mask(const array::CellType1 &input, array::CellType1 &output) const
Combines the max. time step with the flag indicating if a restriction is active. Makes is possible to...