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

◆ assemble_residual() [2/2]

void pism::inverse::IP_SSAHardavForwardProblem::assemble_residual ( array::Vector u,
Vec  R 
)
virtual

Computes the residual function \(\mathcal{R}(u, \zeta)\) defined in the class-level documentation.

Definition at line 182 of file IP_SSAHardavForwardProblem.cc.

References pism::array::Array2D< T >::array(), pism::stressbalance::SSAFEM::compute_local_function(), pism::array::Array::dm(), pism::petsc::DMDAVecArray::get(), and pism::stressbalance::SSA::m_velocity_global.