|
PISM, A Parallel Ice Sheet Model 2.2.2-d6b3a29ca committed by Constantine Khrulev on 2025-03-28
|
Pseduo total variation functional. More...
#include <IPTotalVariationFunctional.hh>
Inheritance diagram for pism::inverse::IPTotalVariationFunctional2S:Public Member Functions | |
| IPTotalVariationFunctional2S (std::shared_ptr< const Grid > grid, double c, double q, double eps, array::Scalar *dirichletLocations=NULL) | |
| virtual void | valueAt (array::Scalar &x, double *OUTPUT) |
| Computes the value of the functional at the vector x. | |
| virtual void | gradientAt (array::Scalar &x, array::Scalar &gradient) |
| Computes the gradient of the functional at the vector x. | |
Public Member Functions inherited from pism::inverse::IPFunctional< array::Scalar > | |
| IPFunctional (std::shared_ptr< const Grid > grid) | |
| virtual | ~IPFunctional () |
Protected Attributes | |
| array::Scalar * | m_dirichletIndices |
| double | m_c |
| double | m_lebesgue_exp |
| double | m_epsilon_sq |
Protected Attributes inherited from pism::inverse::IPFunctional< array::Scalar > | |
| std::shared_ptr< const Grid > | m_grid |
| fem::ElementIterator | m_element_index |
| fem::Q1Element2 | m_element |
Private Member Functions | |
| IPTotalVariationFunctional2S (IPTotalVariationFunctional2S const &) | |
| IPTotalVariationFunctional2S & | operator= (IPTotalVariationFunctional2S const &) |
Pseduo total variation functional.
J(u) = c\int_\Omega (\epsilon^2+|\nabla u|^2)^{q/2}
The parameters c, q and \epsilon are provided at construction. Taking q=1 would yield a total variation functional, save for the regularizing parameter \epsilon.
Definition at line 34 of file IPTotalVariationFunctional.hh.