5 #ifndef DUNE_P0LOCALINTERPOLATION_HH
6 #define DUNE_P0LOCALINTERPOLATION_HH
9 #include <dune/geometry/referenceelements.hh>
24 template<
typename F,
typename C>
27 typedef typename LB::Traits::DomainType DomainType;
28 typedef typename LB::Traits::DomainFieldType DF;
29 const int dim=LB::Traits::dimDomain;
31 auto&& f = Impl::makeFunctionWithCallOperator<typename LB::Traits::DomainType>(ff);
33 DomainType x = Dune::ReferenceElements<DF,dim>::general(gt_).position(0,0);
Definition: bdfmcube.hh:18
Definition: p0localinterpolation.hh:18
P0LocalInterpolation(const GeometryType >)
Definition: p0localinterpolation.hh:20
void interpolate(const F &ff, std::vector< C > &out) const
determine coefficients interpolating a given function
Definition: p0localinterpolation.hh:25