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

◆ 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 166 of file Blatter.cc.

References pism::F(), pism::mask::grounded(), and n.

Referenced by compute_jacobian(), and compute_residual().