Processing math: 100%
PISM, A Parallel Ice Sheet Model 2.2.1-cd005eec8 committed by Constantine Khrulev on 2025-03-07
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.