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

◆ compute_I()

void pism::stressbalance::SIAFD::compute_I ( const Geometry geometry)
protectedvirtual

Compute I.

This computes

\[ I(z) = \int_b^z\delta(s)ds.\]

Uses the trapezoidal rule to approximate the integral.

See compute_diffusive_flux() for the definition of \(\delta\).

The result is stored in work_3d[0,1] and is used to compute the SIA component of the 3D-distributed horizontal ice velocity.

Definition at line 781 of file SIAFD.cc.

References pism::Geometry::cell_type, pism::ParallelSection::check(), pism::ParallelSection::failed(), pism::array::Array3D::get_column(), I, pism::Geometry::ice_surface_elevation, pism::Geometry::ice_thickness, pism::k, m_bed_smoother, m_delta_0, m_delta_1, pism::Component::m_grid, m_work_2d_0, m_work_3d_0, m_work_3d_1, pism::stressbalance::BedSmoother::smoothed_thk(), and pism::array::Array::stencil_width().

Referenced by compute_3d_horizontal_velocity().