5#ifndef DUNE_LOCALFUNCTIONS_BREZZIDOUGLASMARINI1_CUBE3D_LOCALINTERPOLATION_HH
6#define DUNE_LOCALFUNCTIONS_BREZZIDOUGLASMARINI1_CUBE3D_LOCALINTERPOLATION_HH
10#include <dune/geometry/quadraturerules.hh>
32 sign0 = sign1 = sign2 = sign3 = sign4 = sign5 = 1.0;
42 sign0 = sign1 = sign2 = sign3 = sign4 = sign5 = 1.0;
96 template<
typename F,
typename C>
100 typedef typename LB::Traits::RangeFieldType Scalar;
103 DUNE_THROW( NotImplemented,
"Interpolation for BDM1Cube3D finite elements is not implemented." );
106 fill(out.begin(), out.end(), 0.0);
108 const int qOrder = 4;
109 const QuadratureRule<Scalar,1>& rule = QuadratureRules<Scalar,1>::rule(GeometryTypes::cube(1), qOrder);
111 for (
typename QuadratureRule<Scalar,1>::const_iterator it = rule.begin();
112 it != rule.end(); ++it)
119 typename LB::Traits::RangeFieldType sign0, sign1, sign2, sign3, sign4, sign5;
120 typename LB::Traits::DomainType n0, n1, n2, n3, n4, n5;
Definition bdfmcube.hh:18
First order Brezzi-Douglas-Marini shape functions on the reference hexahedron.
Definition brezzidouglasmarini1cube3dlocalinterpolation.hh:26
BDM1Cube3DLocalInterpolation()
Standard constructor.
Definition brezzidouglasmarini1cube3dlocalinterpolation.hh:30
void interpolate(const F &f, std::vector< C > &out) const
Interpolate a given function with shape functions.
Definition brezzidouglasmarini1cube3dlocalinterpolation.hh:97
BDM1Cube3DLocalInterpolation(unsigned int s)
Make set number s, where 0 <= s < 64.
Definition brezzidouglasmarini1cube3dlocalinterpolation.hh:40