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

◆ set_no_model_strip()

void pism::set_no_model_strip ( const Grid grid,
double  width,
array::Scalar result 
)

Set no_model_mask variable to have value 1 in strip of width 'strip' m around edge of computational domain, and value 0 otherwise.

Definition at line 409 of file Geometry.cc.

References pism::grid::in_null_strip(), pism::PointsWithGhosts::next(), pism::Grid::points(), and pism::array::Array::update_ghosts().

Referenced by pism::IceRegionalModel::bootstrap_2d().