PISM, A Parallel Ice Sheet Model 2.2.2-d6b3a29ca committed by Constantine Khrulev on 2025-03-28
Loading...
Searching...
No Matches

◆ identify_open_ocean()

void pism::IceModel::identify_open_ocean ( const array::CellType cell_type,
array::Scalar1 result 
)
protected

Compute the mask (result) identifying "open ocean" cells, i.e. "ice free ocean" cells that are reachable from open ocean cells at an edge of the domain.

Here result is ghosted so that we can pass it to the connected component labeling algorithm.

Definition at line 42 of file frontretreat.cc.

References pism::array::Scalar::as_int(), pism::grid::domain_edge(), grid(), pism::array::Array::grid(), pism::array::CellType::ice_free_ocean(), pism::connected_components::label_isolated(), and pism::array::Array::update_ghosts().

Referenced by front_retreat_step().