|
PISM, A Parallel Ice Sheet Model 2.3.0-79cae578d committed by Constantine Khrulev on 2026-03-22
|
◆ make_nonnegative_preserving()
Limit fluxes to preserve non-negativity of a transported quantity. See flux_limiter() for details. Limit fluxes to preserve non-negativity of a transported quantity.
Returns the number of grid cells affected by the flux limiter. Does not require communication. Definition at line 199 of file flux_limiter.cc. References pism::array::Array2D< T >::E(), flux_limiter(), GlobalSum(), pism::array::Array::grid(), pism::array::Array2D< T >::N(), and pism::array::Staggered1::star(). Referenced by pism::GeometryEvolution::flow_step(), and pism::UNO::update(). |