PISM, A Parallel Ice Sheet Model 2.2.2-d6b3a29ca committed by Constantine Khrulev on 2025-03-28
|
◆ marine_boundary()
Return true if the current face is a part of the marine ice boundary (i.e. at a partially-submerged vertical cliff), false otherwise. A face is a part of the marine boundary if all four nodes are boundary nodes and at least one map-plane location has bottom elevation below sea level (floatation level). If a node is both a boundary and a Dirichlet node (this may happen), then we treat it as a boundary node here: element.add_contribution() will do the right thing in this case. Reimplemented in pism::stressbalance::BlatterTestvanderVeen, pism::stressbalance::BlatterTestXY, and pism::stressbalance::BlatterTestXZ. Definition at line 226 of file Blatter.cc. References pism::fem::q13d::incident_nodes, n, and pism::NODE_BOUNDARY. Referenced by compute_residual(). |