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

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