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

◆ 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::array::max(), pism::Vector2d::u, and pism::Vector2d::v.

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