dune-localfunctions  2.3.0
Public Member Functions | List of all members
Dune::MonomLocalInterpolation< LB, size > Class Template Reference

#include <dune/localfunctions/monom/monomlocalinterpolation.hh>

Public Member Functions

 MonomLocalInterpolation (const GeometryType &gt_, const LB &lb_)
 
template<typename F , typename C >
void interpolate (const F &f, std::vector< C > &out) const
 Determine coefficients interpolating a given function. More...
 

Constructor & Destructor Documentation

template<class LB, unsigned int size>
Dune::MonomLocalInterpolation< LB, size >::MonomLocalInterpolation ( const GeometryType &  gt_,
const LB &  lb_ 
)
inline

Member Function Documentation

template<class LB, unsigned int size>
template<typename F , typename C >
void Dune::MonomLocalInterpolation< LB, size >::interpolate ( const F &  f,
std::vector< C > &  out 
) const
inline

Determine coefficients interpolating a given function.

The method computes the coefficients for the L^2 projection with respect to the given GeometryType. Be carefull: the implementation is unstable for higher polynolial degrees.


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