PISM, A Parallel Ice Sheet Model  stable v2.1-1-g6902d5502 committed by Ed Bueler on 2023-12-20 08:38:27 -0800

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