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
Namespaces | Functions
label_components_impl.hh File Reference
#include "pism/util/array/Scalar.hh"
#include "connected_components_impl.hh"
#include <map>

Go to the source code of this file.

Namespaces

namespace  pism
 
namespace  pism::details
 

Functions

int pism::details::first_label (const Grid &grid)
 
void pism::details::relabel (array::Scalar &mask, const std::map< int, int > &labels)
 Assign new labels to elements of mask. Does not touch background grid cells.
 
std::map< int, intpism::details::final_labels (array::Scalar1 &input, bool subdomain_is_not_empty, bool mark_isolated_patches)
 
template<typename T >
void pism::label_components_impl (const T &input, bool mark_isolated_patches, array::Scalar1 &output)