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

◆ identify_calving_front_connection()

void pism::ocean::PicoGeometry::identify_calving_front_connection ( const array::CellType1 cell_type,
const array::Scalar basin_mask,
const array::Scalar shelf_mask,
int  n_shelves,
std::vector< int > &  most_shelf_cells_in_basin,
std::vector< int > &  cfs_in_basins_per_shelf 
)
private

Find all basins b, in which the ice shelf s has a calving front with potential ocean water intrusion. Find the basin bmax, in which the ice shelf s has the most cells

Definition at line 579 of file PicoGeometry.cc.

References pism::array::Scalar::as_int(), basin_mask(), pism::GlobalSum(), pism::Component::m_grid, m_n_basins, pism::MASK_FLOATING, pism::MASK_ICE_FREE_OCEAN, and pism::array::Array2D< T >::star().

Referenced by update().