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

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