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

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