3 #ifndef DUNE_P0LOCALINTERPOLATION_HH
4 #define DUNE_P0LOCALINTERPOLATION_HH
7 #include <dune/geometry/referenceelements.hh>
22 template<
typename F,
typename C>
25 typedef typename LB::Traits::DomainType DomainType;
26 typedef typename LB::Traits::DomainFieldType DF;
27 const int dim=LB::Traits::dimDomain;
29 auto&& f = Impl::makeFunctionWithCallOperator<typename LB::Traits::DomainType>(ff);
31 DomainType x = Dune::ReferenceElements<DF,dim>::general(gt_).position(0,0);