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

◆ 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 163 of file IP_SSAHardavForwardProblem.cc.

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