PISM, A Parallel Ice Sheet Model 2.2.1-cd005eec8 committed by Constantine Khrulev on 2025-03-07
Loading...
Searching...
No Matches

◆ 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 pism::MPDATA2::update(), and pism::UNO::update().