Flow123d  jenkins-Flow123d-windows32-release-multijob-51
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...
 
- Public Member Functions inherited from FunctorCommon< double >
 FunctorCommon ()
 Constructor. More...
 
virtual ~FunctorCommon ()
 Destructor. More...
 
void set_param (unsigned int param_name, double param_value)
 Sets a functor's parameter. More...
 
void set_param_from_func (FunctorCommon< TType > *func)
 Sets a functor's parameters from another functor. More...
 
double param (unsigned int param_name)
 Returns parameter. More...
 

Private Attributes

Interpolantinterpolant
 
double p_
 
double tol_
 

Additional Inherited Members

- Protected Attributes inherited from FunctorCommon< double >
std::vector< double > param_
 

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 285 of file interpolant_impl.hh.

Constructor & Destructor Documentation

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

Definition at line 288 of file interpolant_impl.hh.

Member Function Documentation

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

Virtual operator () with type Type.

Implements FunctorBase< double >.

Definition at line 294 of file interpolant_impl.hh.

double Interpolant::FuncError_lp::p ( )
inline

Definition at line 291 of file interpolant_impl.hh.

double Interpolant::FuncError_lp::tol ( )
inline

Definition at line 292 of file interpolant_impl.hh.

Member Data Documentation

Interpolant* Interpolant::FuncError_lp::interpolant
private

Definition at line 303 of file interpolant_impl.hh.

double Interpolant::FuncError_lp::p_
private

Definition at line 304 of file interpolant_impl.hh.

double Interpolant::FuncError_lp::tol_
private

Definition at line 305 of file interpolant_impl.hh.


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