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_ice_rises()

void pism::ocean::PicoGeometry::compute_ice_rises ( const array::CellType cell_type,
bool  exclude_ice_rises,
array::Scalar result 
)
private

Compute the mask identifying ice rises, i.e. grounded ice areas not connected to the continental ice sheet.

Resulting mask contains:

0 - ocean 1 - ice rises 2 - continental ice sheet 3 - floating ice

Definition at line 335 of file PicoGeometry.cc.

References pism::ocean::AREA_THRESHOLD, pism::Profiling::begin(), pism::array::Array2D< T >::copy_from(), pism::Profiling::end(), FLOATING, pism::array::CellType::grounded(), pism::array::CellType::icy(), pism::connected_components::label(), pism::Component::m_config, pism::Component::m_grid, m_tmp, pism::Component::profiling(), and pism::ocean::relabel().

Referenced by update().