Loading [MathJax]/extensions/tex2jax.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_box_mask()

void pism::ocean::PicoGeometry::compute_box_mask ( const array::Scalar D_gl,
const array::Scalar D_cf,
const array::Scalar shelf_mask,
int  max_number_of_boxes,
array::Scalar result 
)
private

Compute the mask identifying ice shelf "boxes" using distances to the grounding line and the calving front.

Definition at line 906 of file PicoGeometry.cc.

References pism::array::Scalar::as_int(), pism::GlobalMax(), pism::k, pism::Component::m_grid, pism::array::max(), n, and pism::array::Array::set().

Referenced by update().