Flow123d  JS_before_hm-2207-gef9ee6d82
Public Member Functions | Private Attributes | List of all members
Interpolant::FuncError_lp Class Reference

#include <interpolant_impl.hh>

Inheritance diagram for Interpolant::FuncError_lp:
Inheritance graph
[legend]
Collaboration diagram for Interpolant::FuncError_lp:
Collaboration graph
[legend]

Public Member Functions

 FuncError_lp (Interpolant *interpolant, double p, double tol)
 
double p ()
 
double tol ()
 
virtual double operator() (double x)
 Virtual operator () with type Type. More...
 
- Public Member Functions inherited from FunctorBase< double >
 FunctorBase ()
 Constructor. More...
 
virtual ~FunctorBase ()
 Destructor. More...
 

Private Attributes

Interpolantinterpolant
 
double p_
 
double tol_
 

Detailed Description

Functor class that computes the argument of the integral $ (f(x)-i(x))^p + (f'(x)-i'(x))^p $ in the norm $ \|f-i\|_{W^1_p} $. It is used as input functor to integration.

Definition at line 301 of file interpolant_impl.hh.

Constructor & Destructor Documentation

◆ FuncError_lp()

Interpolant::FuncError_lp::FuncError_lp ( Interpolant interpolant,
double  p,
double  tol 
)
inline

Definition at line 304 of file interpolant_impl.hh.

Member Function Documentation

◆ operator()()

virtual double Interpolant::FuncError_lp::operator() ( double  x)
inlinevirtual

Virtual operator () with type Type.

Implements FunctorBase< double >.

Definition at line 310 of file interpolant_impl.hh.

◆ p()

double Interpolant::FuncError_lp::p ( )
inline

Definition at line 307 of file interpolant_impl.hh.

◆ tol()

double Interpolant::FuncError_lp::tol ( )
inline

Definition at line 308 of file interpolant_impl.hh.

Member Data Documentation

◆ interpolant

Interpolant* Interpolant::FuncError_lp::interpolant
private

Definition at line 319 of file interpolant_impl.hh.

◆ p_

double Interpolant::FuncError_lp::p_
private

Definition at line 320 of file interpolant_impl.hh.

◆ tol_

double Interpolant::FuncError_lp::tol_
private

Definition at line 321 of file interpolant_impl.hh.


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