PISM, A Parallel Ice Sheet Model 2.3.0-79cae578d committed by Constantine Khrulev on 2026-03-22
Loading...
Searching...
No Matches

◆ compute_mask()

void pism::hydrology::EmptyingProblem::compute_mask ( const array::CellType cell_type,
const array::Scalar no_model_mask,
array::Scalar result 
) const
protected

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

Definition at line 454 of file EmptyingProblem.cc.

References pism::array::Array2D< T >::add(), pism::array::Scalar::as_int(), pism::array::CellType::ice_free_ocean(), pism::Component::m_grid, and pism::array::Array::update_ghosts().

Referenced by update().