PISM, A Parallel Ice Sheet Model  stable v2.1-1-g6902d5502 committed by Ed Bueler on 2023-12-20 08:38:27 -0800

◆ 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 368 of file PicoGeometry.cc.

References pism::array::Scalar::as_int(), CONTINENTAL, pism::array::Array2D< T >::copy_from(), ice_rise_mask(), pism::label_components(), pism::Component::m_grid, m_tmp, m_tmp_p0, and OCEAN.

Referenced by update().