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

◆ compute_ice_shelf_mask()

void pism::ocean::PicoGeometry::compute_ice_shelf_mask ( const array::Scalar ice_rise_mask,
const array::Scalar lake_mask,
array::Scalar result 
)
private

Compute the mask identifying ice shelves.

Each shelf gets an individual integer label.

Two shelves connected by an ice rise are considered to be parts of the same shelf.

Floating ice cells that are not connected to the ocean ("subglacial lakes") are excluded.

Definition at line 421 of file PicoGeometry.cc.

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

Referenced by update().