PISM, A Parallel Ice Sheet Model 2.2.1-cd005eec8 committed by Constantine Khrulev on 2025-03-07
|
Abstract base class for IPFunctionals arising from an inner product. More...
#include <IPFunctional.hh>
Public Member Functions | |
IPInnerProductFunctional (std::shared_ptr< const Grid > grid) | |
virtual void | dot (IMVecType &a, IMVecType &b, double *OUTPUT)=0 |
Computes the inner product \(Q(a, b)\). | |
virtual void | interior_product (IMVecType &x, IMVecType &y) |
Computes the interior product of a vector with the IPInnerProductFunctional's underlying bilinear form. | |
![]() | |
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. | |
Additional Inherited Members | |
![]() | |
std::shared_ptr< const Grid > | m_grid |
fem::ElementIterator | m_element_index |
fem::Q1Element2 | m_element |
Abstract base class for IPFunctionals arising from an inner product.
Frequently functionals have the structure
\[ J(u) = Q(u, u) \]
where \(Q\) is a symmetric, non-negative definite, bilinear form. Certain minimization algorithms only apply to such functionals, which should subclass from IPInnerProductFunctional.
Definition at line 97 of file IPFunctional.hh.