Loading [MathJax]/extensions/tex2jax.js
PISM, A Parallel Ice Sheet Model 2.2.2-d6b3a29ca committed by Constantine Khrulev on 2025-03-28
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages

◆ apply_mask()

void pism::array::apply_mask ( const array::Scalar M,
double  fill,
array::Scalar result 
)

Masks out all the areas where \( M \le 0 \) by setting them to fill.

Definition at line 79 of file Scalar.cc.

References pism::array::Array::grid(), and pism::array::Array::inc_state_counter().