19 #ifndef TOTALVARIATIONFUNCTIONAL_HH_HKBL1T7I
20 #define TOTALVARIATIONFUNCTIONAL_HH_HKBL1T7I
22 #include "pism/inverse/functional/IPFunctional.hh"
Abstract base class for functions from ice model vectors to .
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.
array::Scalar * m_dirichletIndices
IPTotalVariationFunctional2S(IPTotalVariationFunctional2S const &)
IPTotalVariationFunctional2S(std::shared_ptr< const Grid > grid, double c, double q, double eps, array::Scalar *dirichletLocations=NULL)
IPTotalVariationFunctional2S & operator=(IPTotalVariationFunctional2S const &)
Pseduo total variation functional.