PISM, A Parallel Ice Sheet Model
stable v2.1.1 committed by Constantine Khrulev on 2024-12-04 13:36:58 -0900
|
Implements a functional corresponding to (the square of) an \(L^2\) norm of a vector valued function. More...
#include <IP_L2NormFunctional.hh>
Public Member Functions | |
IP_L2NormFunctional2V (std::shared_ptr< const Grid > grid) | |
virtual | ~IP_L2NormFunctional2V () |
virtual void | valueAt (array::Vector &x, double *v) |
Computes the value of the functional at the vector x. More... | |
virtual void | dot (array::Vector &a, array::Vector &b, double *v) |
Computes the inner product \(Q(a, b)\). More... | |
virtual void | gradientAt (array::Vector &x, array::Vector &gradient) |
Computes the gradient of the functional at the vector x. More... | |
Public Member Functions inherited from pism::inverse::IPInnerProductFunctional< array::Vector > | |
IPInnerProductFunctional (std::shared_ptr< const Grid > grid) | |
virtual void | interior_product (array::Vector &x, array::Vector &y) |
Computes the interior product of a vector with the IPInnerProductFunctional's underlying bilinear form. More... | |
Public Member Functions inherited from pism::inverse::IPFunctional< array::Vector > | |
IPFunctional (std::shared_ptr< const Grid > grid) | |
virtual | ~IPFunctional () |
Private Member Functions | |
IP_L2NormFunctional2V (IP_L2NormFunctional2V const &) | |
IP_L2NormFunctional2V & | operator= (IP_L2NormFunctional2V const &) |
Additional Inherited Members | |
Protected Attributes inherited from pism::inverse::IPFunctional< array::Vector > | |
std::shared_ptr< const Grid > | m_grid |
fem::ElementIterator | m_element_index |
fem::Q1Element2 | m_element |
Implements a functional corresponding to (the square of) an \(L^2\) norm of a vector valued function.
The functional is, in continuous terms
\[ J(f) = \int_{\Omega} f^2 \; dA \]
where \(\Omega\) is the square domain. Numerically it is implemented using Q1 finite elements.
Definition at line 57 of file IP_L2NormFunctional.hh.