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

◆ basin_neighbors()

std::vector< std::set< int > > pism::ocean::PicoGeometry::basin_neighbors ( const array::CellType1 cell_type,
const array::Scalar1 basin_mask 
)
private

Find neighboring basins by checking for the basin boundaries on the ice free ocean.

Should we identify the intersection at the coastline instead?

Returns the map from the basin index to a set of indexes of neighbors.

Definition at line 489 of file PicoGeometry.cc.

References basin_mask(), pism::GlobalMax(), pism::array::CellType::ice_free_ocean(), pism::mask::ice_free_ocean(), pism::Component::m_grid, m_n_basins, pism::array::CellType1::next_to_ice(), pism::array::Array2D< T >::star(), and pism::array::CellType1::star_int().

Referenced by split_ice_shelves(), and update().