PISM, A Parallel Ice Sheet Model  stable v2.1.1 committed by Constantine Khrulev on 2024-12-04 13:36:58 -0900

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