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

◆ normalize()

void pism::inverse::IPLogRatioFunctional::normalize ( double  scale)
virtual

Determine the normalization constant for the functional.

Sets the normalization constant \(c_N\) so that

\[ J(x)=1 \]

if \(|x| = \mathtt{scale}|u_{\rm obs}| \) everywhere.

Definition at line 35 of file IPLogRatioFunctional.cc.

References pism::array::AccessScope::add(), pism::GlobalSum(), m_eps, pism::inverse::IPFunctional< array::Vector >::m_grid, m_normalization, m_u_observed, m_weights, pism::Vector2d::u, and pism::Vector2d::v.