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

◆ 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 869 of file PicoGeometry.cc.

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

Referenced by update().