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

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