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

◆ compute_velocity()

void pism::hydrology::EmptyingProblem::compute_velocity ( const array::Scalar psi,
const array::Scalar1 domain_mask,
array::Staggered result 
) const
protected

Compute water velocity on the staggered grid.

Definition at line 415 of file EmptyingProblem.cc.

References pism::hydrology::K(), m_dx, m_dy, m_eps_gradient, pism::Component::m_grid, m_speed, pism::array::Array2D< T >::star(), and pism::array::Array::update_ghosts().

Referenced by update().