Interface class for interpolating a "global" basis. More...
#include <dune/localfunctions/common/interpolation.hh>
Public Member Functions | |
template<typename F , typename C > | |
void | interpolate (const F &f, std::vector< C > &out) const |
determine coefficients interpolating a given function |
Interface class for interpolating a "global" basis.
void Dune::InterpolationInterface< Imp >::interpolate | ( | const F & | f, | |
std::vector< C > & | out | |||
) | const [inline] |
determine coefficients interpolating a given function
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. |
[in] | f | Function instance used to interpolate. |
[out] | out | Resulting coefficients vector. |
Reimplemented in Dune::SimpleInterpolation< LI >.