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

◆ compute_interface_velocity()

static void pism::compute_interface_velocity ( const array::CellType cell_type,
const array::Vector velocity,
array::Staggered result 
)
static

Compute staggered grid (cell interface) velocities given regular grid velocities and the domain extent (cell type).

Definition at line 182 of file MPDATA2.cc.

References pism::array::Array::grid(), pism::array::CellType::icy(), pism::Vector2d::u, and pism::Vector2d::v.

Referenced by pism::MPDATA2::update().