5#ifndef DUNE_RANNACHER_TUREK_LOCALINTERPOLATION_HH
6#define DUNE_RANNACHER_TUREK_LOCALINTERPOLATION_HH
11#include <dune/common/fvector.hh>
13#include <dune/geometry/referenceelements.hh>
15#include <dune/localfunctions/common/localbasis.hh>
29 template<
class D,
class R,
unsigned int d >
33 R, 1, FieldVector< R, 1 >,
34 FieldMatrix< R, 1, d > >
Traits;
37 template<
class F,
class C >
38 void interpolate (
const F &f, std::vector< C > &out )
const
43 auto referenceElement = ReferenceElements< D, d >::cube();
46 assert( size == referenceElement.size( 1 ) );
52 for(
int i = 0; i < size; ++i )
54 const DomainType &x = referenceElement.position( i, 1 );
please doc me
Definition: rannachertureklocalinterpolation.hh:31
Type traits for LocalBasisVirtualInterface.
Definition: localbasis.hh:35
D DomainType
domain type
Definition: localbasis.hh:43