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::GenericReferenceElements<DF,dim>::general(gt_).position(0,0);
33 f.evaluate(x,y); out[0] = y;