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);
Definition: bdfmcube.hh:16
Definition: p0localinterpolation.hh:16
P0LocalInterpolation(const GeometryType >)
Definition: p0localinterpolation.hh:18
void interpolate(const F &ff, std::vector< C > &out) const
determine coefficients interpolating a given function
Definition: p0localinterpolation.hh:23