PISM, A Parallel Ice Sheet Model  stable v2.1.1 committed by Constantine Khrulev on 2024-12-04 13:36:58 -0900

◆ add_contribution() [2/2]

template<typename T >
void pism::fem::Element3::add_contribution ( const T *  local,
T ***  y_global 
) const
inline

Add the values of element-local contributions y to the global vector y_global.

The element-local array local should be an array of Nk values.

Use this to add residual contributions.

Definition at line 328 of file Element.hh.

References I, local_to_global(), pism::fem::Element::m_invalid_dof, pism::fem::Element::m_n_chi, pism::fem::Element::m_row, and n.

Referenced by pism::stressbalance::Blatter::compute_jacobian(), and pism::stressbalance::Blatter::compute_residual().