3 #ifndef DUNE_P0LOCALINTERPOLATION_HH 4 #define DUNE_P0LOCALINTERPOLATION_HH 7 #include <dune/geometry/referenceelements.hh> 21 template<
typename F,
typename C>
24 typedef typename LB::Traits::DomainType DomainType;
25 typedef typename LB::Traits::RangeType RangeType;
26 typedef typename LB::Traits::DomainFieldType DF;
27 const int dim=LB::Traits::dimDomain;
29 DomainType x = Dune::ReferenceElements<DF,dim>::general(gt_).position(0,0);
33 f.evaluate(x,y); out[0] = y;
Definition: p0localinterpolation.hh:14
Definition: brezzidouglasmarini1cube2dlocalbasis.hh:15
void interpolate(const F &f, std::vector< C > &out) const
determine coefficients interpolating a given function
Definition: p0localinterpolation.hh:22
P0LocalInterpolation(const GeometryType >)
Definition: p0localinterpolation.hh:17