PISM, A Parallel Ice Sheet Model  stable v2.1.1 committed by Constantine Khrulev on 2024-12-04 13:36:58 -0900

◆ label_connected_components()

void label_connected_components ( double *  image,
int  nrows,
int  ncols,
bool  identify_icebergs,
int  mask_grounded,
int  first_label 
)

Label connected components. Modifies image in place.

Definition at line 40 of file connected_components.cc.

References pism::k, L, Run::label, Run::length, n, resolve_label(), and pism::fem::row().

Referenced by pism::label_components(), pism::calving::IcebergRemover::update_impl(), and pism::calving::IcebergRemoverFEM::update_impl().