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