3#ifndef DUNE_Pk1DLOCALINTERPOLATION_HH
4#define DUNE_Pk1DLOCALINTERPOLATION_HH
11 class Pk1DLocalInterpolation
20 static const int kdiv = (k == 0 ? 1 : k);
24 template<
typename F,
typename C>
25 void interpolate (
const F& f, std::vector<C>& out)
const
27 typename LB::Traits::DomainType x;
28 typename LB::Traits::RangeType y;
29 typedef typename LB::Traits::DomainFieldType D;
32 for (
int i=0; i<N; i++)
34 x[0] = ((D)i)/((D)kdiv);
Dune namespace.
Definition: alignedallocator.hh:10