PISM, A Parallel Ice Sheet Model 2.3.0-79cae578d committed by Constantine Khrulev on 2026-03-22
Loading...
Searching...
No Matches

◆ 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 525 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::CellType1::star_int(), and pism::array::Scalar::star_int().

Referenced by split_ice_shelves(), and update().