PISM, A Parallel Ice Sheet Model
stable v1.2 committed by Constantine Khrulev on 2020-02-11 20:24:05 -0900
|
Go to the documentation of this file.
22 #include "pism/util/Component.hh"
23 #include "pism/util/iceModelVec.hh"
31 double compute_load(
double bed,
double ice_thickness,
double sea_level,
32 double ice_density,
double ocean_density);
35 const IceModelVec2S &ice_thickness,
36 const IceModelVec2S &sea_level_elevation,
37 IceModelVec2S &result);
67 double t,
double dt) = 0;
119 double t,
double dt);
126 #endif // __BedDef_hh
void init_impl(const InputOptions &opts, const IceModelVec2S &ice_thickness, const IceModelVec2S &sea_level_elevation)
Initialize from the context (input file and the "variables" database).
IceModelVec2S m_topg
current bed elevation
void update(const IceModelVec2S &ice_thickness, const IceModelVec2S &sea_level_elevation, double t, double dt)
Combines the max. time step with the flag indicating if a restriction is active. Makes is possible to...
High-level PISM I/O class.
std::shared_ptr< const IceGrid > ConstPtr
void init_impl(const InputOptions &opts, const IceModelVec2S &ice_thickness, const IceModelVec2S &sea_level_elevation)
Initialize from the context (input file and the "variables" database).
void compute_uplift(const IceModelVec2S &bed, const IceModelVec2S &bed_last, double dt, IceModelVec2S &result)
Compute bed uplift (dt is in seconds).
IceModelVec2S m_topg_last
bed elevation at the time of the last update
MaxTimestep max_timestep_impl(double t) const
void bootstrap_impl(const IceModelVec2S &bed_elevation, const IceModelVec2S &bed_uplift, const IceModelVec2S &ice_thickness, const IceModelVec2S &sea_level_elevation)
virtual void init_impl(const InputOptions &opts, const IceModelVec2S &ice_thickness, const IceModelVec2S &sea_level_elevation)
Initialize from the context (input file and the "variables" database).
virtual void apply_topg_offset(const std::string &filename)
virtual DiagnosticList diagnostics_impl() const
Point-wise isostasy bed deformation model.
PointwiseIsostasy(IceGrid::ConstPtr g)
void init(const InputOptions &opts, const IceModelVec2S &ice_thickness, const IceModelVec2S &sea_level_elevation)
const IceModelVec2S & uplift() const
virtual void update_impl(const IceModelVec2S &ice_thickness, const IceModelVec2S &sea_level_elevation, double t, double dt)=0
void bootstrap(const IceModelVec2S &bed_elevation, const IceModelVec2S &bed_uplift, const IceModelVec2S &ice_thickness, const IceModelVec2S &sea_level_elevation)
Initialize using provided bed elevation and uplift.
virtual void write_model_state_impl(const File &output) const
The default (empty implementation).
virtual void define_model_state_impl(const File &output) const
The default (empty implementation).
Null(IceGrid::ConstPtr g)
const IceModelVec2S & bed_elevation() const
PISM bed deformation model (base class).
void update_impl(const IceModelVec2S &ice_thickness, const IceModelVec2S &sea_level_elevation, double t, double dt)
void update_impl(const IceModelVec2S &ice_thickness, const IceModelVec2S &sea_level_elevation, double t, double dt)
Updates the pointwise isostasy model.
std::map< std::string, Diagnostic::Ptr > DiagnosticList
BedDef(IceGrid::ConstPtr g)
double compute_load(double bed, double ice_thickness, double sea_level, double ice_density, double ocean_density)
IceModelVec2S m_load_last
last ice load (ice-equivalent thickness)
virtual ~PointwiseIsostasy()
virtual void bootstrap_impl(const IceModelVec2S &bed_elevation, const IceModelVec2S &bed_uplift, const IceModelVec2S &ice_thickness, const IceModelVec2S &sea_level_elevation)
IceModelVec2S m_uplift
bed uplift rate
A class defining a common interface for most PISM sub-models.
MaxTimestep max_timestep_impl(double t) const