PISM, A Parallel Ice Sheet Model  stable v2.1.1 committed by Constantine Khrulev on 2024-12-04 13:36:58 -0900

◆ 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().