Loading [MathJax]/jax/output/HTML-CSS/config.js
PISM, A Parallel Ice Sheet Model 2.2.1-cd005eec8 committed by Constantine Khrulev on 2025-03-07
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages

◆ compute_continental_shelf_mask()

void pism::ocean::PicoGeometry::compute_continental_shelf_mask ( const array::Scalar bed_elevation,
const array::Scalar ice_rise_mask,
double  bed_elevation_threshold,
array::Scalar result 
)
private

Compute the continental ice shelf mask.

Resulting mask contains:

0 - ocean or icy 1 - ice-free areas with bed elevation > threshold and not connected to the continental ice sheet 2 - ice-free areas with bed elevation > threshold, connected to the continental ice sheet

Definition at line 384 of file PicoGeometry.cc.

References pism::array::Scalar::as_int(), pism::Profiling::begin(), CONTINENTAL, pism::array::Array2D< T >::copy_from(), pism::Profiling::end(), ice_rise_mask(), pism::connected_components::label_isolated(), pism::Component::m_grid, m_tmp, OCEAN, and pism::Component::profiling().

Referenced by update().