Loading [MathJax]/extensions/tex2jax.js
PISM, A Parallel Ice Sheet Model 2.2.2-d6b3a29ca committed by Constantine Khrulev on 2025-03-28
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages

◆ compute_flux_divergence()

void pism::GeometryEvolution::compute_flux_divergence ( double  dt,
const array::Staggered1 flux,
const array::Scalar thickness_bc_mask,
array::Scalar conservation_error,
array::Scalar output 
)
protectedvirtual

Compute flux divergence using cell interface fluxes on the staggered grid.

The flux divergence at ice thickness Dirichlet B.C. locations is set to zero.

Definition at line 649 of file GeometryEvolution.cc.

References pism::ParallelSection::check(), conservation_error(), pism::ParallelSection::failed(), pism::Component::m_grid, and pism::array::Staggered1::star().

Referenced by flow_step().