1 #ifndef DUNE_FEM_SPACE_FINITEVOLUME_INTERPOLATION_HH 2 #define DUNE_FEM_SPACE_FINITEVOLUME_INTERPOLATION_HH 19 template<
class Gr
idPart,
class Range >
28 typedef typename GridPartType::template Codim< 0 >::EntityType
EntityType;
64 template<
class LocalFunction,
class LocalDofVector >
67 apply( localFunction, localDofVector );
71 template<
class LocalFunction,
class LocalDofVector >
76 for(
int i = 0; i < Range::dimension; ++i )
77 localDofVector[ i ] = value[ i ];
83 const EntityType &entity ()
const {
return entity_.get(); }
85 std::reference_wrapper< const EntityType > entity_;
92 #endif // #ifndef DUNE_FEM_SPACE_FINITEVOLUME_INTERPOLATION_HH Definition: finitevolume/basisfunctionset.hh:24
void apply(const LocalFunction &localFunction, LocalDofVector &localDofVector) const
interpolate local function
Definition: finitevolume/interpolation.hh:72
GridPart GridPartType
grid part type
Definition: finitevolume/interpolation.hh:26
static void apply(const LocalFunction &localFunction, typename LocalFunction::RangeType &average)
Definition: average.hh:143
FiniteVolumeLocalInterpolation & operator=(const ThisType &)=default
interface for local functions
Definition: localfunction.hh:41
Definition: finitevolume/interpolation.hh:20
Definition: coordinate.hh:4
FiniteVolumeBasisFunctionSet< EntityType, Range > BasisFunctionSetType
basis function set type
Definition: finitevolume/interpolation.hh:31
GridPartType::template Codim< 0 >::EntityType EntityType
entity type
Definition: finitevolume/interpolation.hh:28
FiniteVolumeLocalInterpolation(const EntityType &entity)
Definition: finitevolume/interpolation.hh:37
BasisFunctionSetType basisFunctionSet() const
return basis function set
Definition: finitevolume/interpolation.hh:58
void operator()(const LocalFunction &localFunction, LocalDofVector &localDofVector) const
interpolate local function
Definition: finitevolume/interpolation.hh:65