Flow123d  release_3.0.0-1073-g8f35d56
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< 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 301 of file interpolant_impl.hh.

Constructor & Destructor Documentation

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

Definition at line 304 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 310 of file interpolant_impl.hh.

double Interpolant::FuncError_lp::p ( )
inline

Definition at line 307 of file interpolant_impl.hh.

double Interpolant::FuncError_lp::tol ( )
inline

Definition at line 308 of file interpolant_impl.hh.

Member Data Documentation

Interpolant* Interpolant::FuncError_lp::interpolant
private

Definition at line 319 of file interpolant_impl.hh.

double Interpolant::FuncError_lp::p_
private

Definition at line 320 of file interpolant_impl.hh.

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: