23 #include "pism/util/Component.hh"
35 SeaLevel(std::shared_ptr<const Grid>
g, std::shared_ptr<SeaLevel> input);
A class defining a common interface for most PISM sub-models.
High-level PISM I/O class.
Combines the max. time step with the flag indicating if a restriction is active. Makes is possible to...
virtual ~SeaLevel()=default
void update(const Geometry &geometry, double t, double dt)
virtual void define_model_state_impl(const File &output) const
The default (empty implementation).
std::shared_ptr< SeaLevel > m_input_model
array::Scalar m_sea_level
virtual void write_model_state_impl(const File &output) const
The default (empty implementation).
virtual void update_impl(const Geometry &geometry, double t, double dt)
virtual TSDiagnosticList ts_diagnostics_impl() const
SeaLevel(std::shared_ptr< const Grid > g, std::shared_ptr< SeaLevel > input)
virtual void init_impl(const Geometry &geometry)
virtual DiagnosticList diagnostics_impl() const
virtual MaxTimestep max_timestep_impl(double t) const
void init(const Geometry &geometry)
const array::Scalar & elevation() const
bool ocean(int M)
An ocean cell (floating ice or ice-free).
std::map< std::string, TSDiagnostic::Ptr > TSDiagnosticList
std::map< std::string, Diagnostic::Ptr > DiagnosticList