Dune::SimpleInterpolation< LI > Class Template Reference

Wrap a LocalInterpolation class and turn it into a "global" Interpolation. More...

#include <dune/localfunctions/common/simpleinterpolation.hh>

Inheritance diagram for Dune::SimpleInterpolation< LI >:
Inheritance graph

List of all members.

Public Member Functions

 SimpleInterpolation (const LI &li_)
 Construct a SimpleInterpolation object.
template<typename F , typename C >
void interpolate (const F &f, std::vector< C > &out) const
 determine coefficients interpolating a given function

Detailed Description

template<class LI>
class Dune::SimpleInterpolation< LI >

Wrap a LocalInterpolation class and turn it into a "global" Interpolation.

Template Parameters:
LI Type of the LocalInterpolation

Constructor & Destructor Documentation

template<class LI >
Dune::SimpleInterpolation< LI >::SimpleInterpolation ( const LI &  li_  )  [inline]

Construct a SimpleInterpolation object.

Parameters:
[in] li_ A reference to the LocalInterpolation object. This reference is stored internally and should be valid for as long as the interpolate() method of this SimpleInterpolation object is used.

Member Function Documentation

template<class LI >
template<typename F , typename C >
void Dune::SimpleInterpolation< LI >::interpolate ( const F &  f,
std::vector< C > &  out 
) const [inline]

determine coefficients interpolating a given function

Template Parameters:
F Type of function to interpolate. The class should provide a method void evaluate(const DomainType &x, RangeType &y) const which is used to evaluate the function on the reference element.
C Type of coefficients.
Parameters:
[in] f Function instance used to interpolate.
[out] out Resulting coefficients vector.

Reimplemented from Dune::InterpolationInterface< SimpleInterpolation< LI > >.


The documentation for this class was generated from the following file:
Generated on Sat Apr 24 11:15:36 2010 for dune-localfunctions by  doxygen 1.6.3