Loading [MathJax]/jax/output/HTML-CSS/config.js
PISM, A Parallel Ice Sheet Model 2.2.2-d6b3a29ca committed by Constantine Khrulev on 2025-03-28
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages

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