PISM, A Parallel Ice Sheet Model  stable v2.0.5 committed by Constantine Khrulev on 2022-10-14 09:56:26 -0800

◆ compute_mask()

void pism::hydrology::EmptyingProblem::compute_mask ( const IceModelVec2CellType cell_type,
const IceModelVec2Int no_model_mask,
IceModelVec2Int result 
) const
protected

Compute the mask that defines the domain: ones in the domain, zeroes elsewhere.

Definition at line 441 of file EmptyingProblem.cc.

References pism::IceModelVec2S::add(), pism::IceModelVec2Int::as_int(), pism::IceModelVec2CellType::ice_free_ocean(), pism::Component::m_grid, pism::PointsWithGhosts::next(), and pism::IceModelVec::update_ghosts().

Referenced by update().