Dune::EdgeS02DLocalInterpolation< LB > Class Template Reference

Interpolation for experimental lowest order edge elements for triangles. More...

#include <dune/localfunctions/whitney/edges02d/edges02dlocalinterpolation.hh>

Inheritance diagram for Dune::EdgeS02DLocalInterpolation< LB >:
Inheritance graph

List of all members.

Public Member Functions

 EdgeS02DLocalInterpolation ()
 contruct an interpolation instance with default orientations
 EdgeS02DLocalInterpolation (unsigned int orientations)
template<typename F , typename C , typename Geometry >
void interpolateGlobal (const F &f, std::vector< C > &out, const Geometry &geometry) const
 Local interpolation of a function.

Detailed Description

template<class LB>
class Dune::EdgeS02DLocalInterpolation< LB >

Interpolation for experimental lowest order edge elements for triangles.

Template Parameters:
LB LocalBasisImplementation
Note:
This class does not implement the usual LocalInterpolationInterface since that does not make much sense for vector valued elements. An experimental interface providing global rather than local values is provided instead. Be warned that this interface is subject to change without notice, however.

Constructor & Destructor Documentation

template<class LB>
Dune::EdgeS02DLocalInterpolation< LB >::EdgeS02DLocalInterpolation (  )  [inline]

contruct an interpolation instance with default orientations

template<class LB>
Dune::EdgeS02DLocalInterpolation< LB >::EdgeS02DLocalInterpolation ( unsigned int  orientations  )  [inline]

contruct an interpolation instance with the given orientations

Parameters:
orientations Bit-map of orientations for each shape function; bit 0 = 0 means default orientation for the first shape function, bit 0 = 1 means inverted orientation for the first shape function.

Member Function Documentation

template<class LB>
template<typename F , typename C , typename Geometry >
void Dune::EdgeS02DLocalInterpolation< LB >::interpolateGlobal ( const F &  f,
std::vector< C > &  out,
const Geometry &  geometry 
) const [inline]

Local interpolation of a 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. This method should expect local coordinates on the reference element as input x but should return global values in y.
C Type of coefficients.
Geometry Type of Geometry.
Parameters:
[in] f Function instance used to interpolate.
[out] out Resulting coefficients vector.
[in] geometry geometry of the element used for interpolation.

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