23 #include "pism/util/IceGrid.hh"
24 #include "pism/util/iceModelVec.hh"
25 #include "pism/util/IceModelVec2CellType.hh"
61 void dump(
const char *filename)
const;
71 double thickness_threshold);
Geometry(const IceGrid::ConstPtr &grid)
IceModelVec2S ice_surface_elevation
void ensure_consistency(double ice_free_thickness_threshold)
IceModelVec2S cell_grounded_fraction
IceModelVec2CellType cell_type
IceModelVec2S bed_elevation
const int m_stencil_width
IceModelVec2S ice_area_specific_volume
void dump(const char *filename) const
IceModelVec2S sea_level_elevation
IceModelVec2S ice_thickness
std::shared_ptr< const IceGrid > ConstPtr
Describes the PISM grid and the distribution of data across processors.
"Cell type" mask. Adds convenience methods to IceModelVec2Int.
A simple class "hiding" the fact that the mask is stored as floating-point scalars (instead of intege...
double ice_volume_not_displacing_seawater(const Geometry &geometry, double thickness_threshold)
double ice_area(const Geometry &geometry, double thickness_threshold)
Computes ice area, in m^2.
double ice_area_floating(const Geometry &geometry, double thickness_threshold)
Computes floating ice area, in m^2.
double sea_level_rise_potential(const Geometry &geometry, double thickness_threshold)
Computes the sea level rise that would result if all the ice were melted.
double ice_volume(const Geometry &geometry, double thickness_threshold)
Computes the ice volume, in m^3.
void set_no_model_strip(const IceGrid &grid, double width, IceModelVec2Int &result)
Set no_model_mask variable to have value 1 in strip of width 'strip' m around edge of computational d...
void ice_bottom_surface(const Geometry &geometry, IceModelVec2S &result)
double ice_area_grounded(const Geometry &geometry, double thickness_threshold)
Computes grounded ice area, in m^2.