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

void pism::UNO::compute_interface_fluxes ( const array::CellType1 cell_type,
const array::Vector1 velocity,
const array::Scalar2 x_old,
double  dt,
array::Staggered result 
) const
private

Compute staggered grid (cell interface) fluxes given the domain extent (cell type), regular grid velocities, and the current distribution of the advected quantity.

Definition at line 207 of file UNO.cc.

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

Referenced by update().