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

◆ 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().