Flow123d  JS_before_hm-979-g397e552
Public Member Functions | Private Attributes | List of all members
Interpolant::FuncError_wp1 Class Reference

#include <interpolant_impl.hh>

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

Public Member Functions

 FuncError_wp1 (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< Type >
 FunctorCommon ()
 Constructor. More...
 
virtual ~FunctorCommon ()
 Destructor. More...
 
void set_param (unsigned int param_name, double param_value)
 Sets a functor's parameter. More...
 
template<class TType >
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< Type >
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 327 of file interpolant_impl.hh.

Constructor & Destructor Documentation

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

Definition at line 330 of file interpolant_impl.hh.

Member Function Documentation

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

Virtual operator () with type Type.

Implements FunctorBase< double >.

Definition at line 336 of file interpolant_impl.hh.

double Interpolant::FuncError_wp1::p ( )
inline

Definition at line 333 of file interpolant_impl.hh.

double Interpolant::FuncError_wp1::tol ( )
inline

Definition at line 334 of file interpolant_impl.hh.

Member Data Documentation

Interpolant* Interpolant::FuncError_wp1::interpolant
private

Definition at line 347 of file interpolant_impl.hh.

double Interpolant::FuncError_wp1::p_
private

Definition at line 348 of file interpolant_impl.hh.

double Interpolant::FuncError_wp1::tol_
private

Definition at line 349 of file interpolant_impl.hh.


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