|
PISM, A Parallel Ice Sheet Model 2.2.2-d6b3a29ca committed by Constantine Khrulev on 2025-03-28
|
Abstract base class for functions from ice model vectors to \(\mathbb{R}\). More...
#include <IPFunctional.hh>
Inheritance diagram for pism::inverse::IPFunctional< IMVecType >:Public Member Functions | |
| IPFunctional (std::shared_ptr< const Grid > grid) | |
| virtual | ~IPFunctional () |
| virtual void | valueAt (IMVecType &x, double *OUTPUT)=0 |
| Computes the value of the functional at the vector x. | |
| virtual void | gradientAt (IMVecType &x, IMVecType &gradient)=0 |
| Computes the gradient of the functional at the vector x. | |
Protected Attributes | |
| std::shared_ptr< const Grid > | m_grid |
| fem::ElementIterator | m_element_index |
| fem::Q1Element2 | m_element |
Private Member Functions | |
| IPFunctional (IPFunctional const &) | |
| IPFunctional & | operator= (IPFunctional const &) |
Abstract base class for functions from ice model vectors to \(\mathbb{R}\).
Inverse problems frequently involve minimizing a functional, such such as the misfit
\[ J(u) = \int_\Omega |u-u_{\rm obs}|^2 \]
between observed ( \(u_{\rm obs}\)) and modeled ( \(u\)) surface velocities. Subclasses of IPFunctional define such maps, and permit computation of their gradients.
Definition at line 44 of file IPFunctional.hh.