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

◆ split_ice_shelves()

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

Find all ice shelves s that spread across non-neighboring basins with calving fronts in those basins and add an ice shelf mask number.

Definition at line 640 of file PicoGeometry.cc.

References pism::array::Scalar::as_int(), b0, basin_mask(), basin_neighbors(), pism::array::Array2D< T >::copy_from(), pism::GlobalSum(), pism::Component::m_grid, pism::Component::m_log, m_n_basins, m_tmp, and pism::MASK_FLOATING.

Referenced by update().