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::GeometryEvolution::compute_interface_fluxes ( const array::CellType1 cell_type,
const array::Scalar ice_thickness,
const array::Vector velocity,
const array::Staggered diffusive_flux,
array::Staggered output 
)
protectedvirtual

Combine advective velocity and the diffusive flux on the staggered grid with the ice thickness to compute the total flux through cell interfaces.

Uses first-order upwinding to compute the advective flux.

Limits the diffusive flux to prevent SIA-driven flow in the ocean and ice-free areas.

Reimplemented in pism::RegionalGeometryEvolution.

Definition at line 575 of file GeometryEvolution.cc.

References pism::ParallelSection::check(), pism::ParallelSection::failed(), pism::mask::icy(), pism::limit_advective_flux(), pism::limit_diffusive_flux(), pism::Component::m_grid, pism::array::max(), and n.

Referenced by pism::RegionalGeometryEvolution::compute_interface_fluxes(), and flow_step().