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

◆ grounding_line()

bool pism::stressbalance::Blatter::grounding_line ( const double F)
staticprotected

Return true if the current map-plane cell contains the grounding line, false otherwise.

This is used to determine whether to use more quadrature points to estimate integrals over the bottom face of the basal element.

The code takes advantage of the ordering of element nodes: lower 4 first, then upper 4. This means that we can loop over the first 4 nodes and ignore the other 4.

Definition at line 167 of file Blatter.cc.

References pism::F(), and n.

Referenced by compute_jacobian(), and compute_residual().