Loading [MathJax]/extensions/tex2jax.js
PISM, A Parallel Ice Sheet Model 2.2.1-cd005eec8 committed by Constantine Khrulev on 2025-03-07
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages

◆ detect_connections()

static std::map< int, std::set< int > > pism::details::detect_connections ( array::Scalar1 mask)
static

Inspect sub-domain edges to detect connections between patches owned by individual sub-domains.

Definition at line 63 of file label_components_parallel.cc.

References pism::array::Scalar::as_int(), east_boundary(), pism::array::Array::grid(), pism::PointsWithGhosts::next(), north_boundary(), south_boundary(), pism::array::Array::update_ghosts(), and west_boundary().

Referenced by final_labels().