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

◆ compute_lakes()

void pism::ocean::PicoGeometry::compute_lakes ( const array::CellType cell_type,
array::Scalar result 
)
private

Compute the mask identifying "subglacial lakes", i.e. floating ice areas that are not connected to the open ocean.

Resulting mask contains:

0 - grounded ice 1 - floating ice not connected to the open ocean 2 - floating ice or ice-free ocean connected to the open ocean

Definition at line 286 of file PicoGeometry.cc.

References pism::array::Array2D< T >::copy_from(), pism::grid::domain_edge(), pism::array::Array::grid(), pism::Component::grid(), pism::label_components(), m_tmp, m_tmp_p0, and pism::array::CellType::ocean().

Referenced by update().