PISM, A Parallel Ice Sheet Model  stable v2.1-1-g6902d5502 committed by Ed Bueler on 2023-12-20 08:38:27 -0800
Public Member Functions | Protected Attributes | Private Member Functions | List of all members
pism::inverse::IPTotalVariationFunctional2S Class Reference

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. More...
 
virtual void gradientAt (array::Scalar &x, array::Scalar &gradient)
 Computes the gradient of the functional at the vector x. More...
 
- Public Member Functions inherited from pism::inverse::IPFunctional< array::Scalar >
 IPFunctional (std::shared_ptr< const Grid > grid)
 
virtual ~IPFunctional ()
 

Protected Attributes

array::Scalarm_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 Gridm_grid
 
fem::ElementIterator m_element_index
 
fem::Q1Element2 m_element
 

Private Member Functions

 IPTotalVariationFunctional2S (IPTotalVariationFunctional2S const &)
 
IPTotalVariationFunctional2Soperator= (IPTotalVariationFunctional2S const &)
 

Detailed Description

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.


The documentation for this class was generated from the following files: