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

◆ step() [2/2]

static void pism::step ( double  dt,
const array::Staggered1 velocity,
const array::Scalar1 x_old,
array::Scalar x 
)
static

Perform an explicit step using first order upwinding.

Parameters
[in]dttime step length
[in]velocitycell interface velocities
[in]x_oldcurrent state
[out]xnew state

Definition at line 281 of file MPDATA2.cc.

References pism::array::Array::grid(), pism::array::Array2D< T >::star(), pism::array::Staggered1::star(), and upwind().

Referenced by exactM(), pism::MPDATA2::update(), and pism::UNO::update().