3 #ifndef DUNE_LOCALFUNCTIONS_BREZZIDOUGLASMARINI1_CUBE3D_LOCALINTERPOLATION_HH
4 #define DUNE_LOCALFUNCTIONS_BREZZIDOUGLASMARINI1_CUBE3D_LOCALINTERPOLATION_HH
8 #include <dune/geometry/quadraturerules.hh>
30 sign0 = sign1 = sign2 = sign3 = sign4 = sign5 = 1.0;
40 sign0 = sign1 = sign2 = sign3 = sign4 = sign5 = 1.0;
94 template<
typename F,
typename C>
98 typedef typename LB::Traits::RangeFieldType Scalar;
100 typename F::Traits::RangeType y;
103 fill(out.begin(), out.end(), 0.0);
105 const int qOrder = 4;
106 const QuadratureRule<Scalar,1>& rule = QuadratureRules<Scalar,1>::rule(GeometryType(GeometryType::cube,1), qOrder);
108 for (
typename QuadratureRule<Scalar,1>::const_iterator it = rule.begin();
109 it != rule.end(); ++it)
116 typename LB::Traits::RangeFieldType sign0, sign1, sign2, sign3, sign4, sign5;
117 typename LB::Traits::DomainType n0, n1, n2, n3, n4, n5;
120 #endif // DUNE_LOCALFUNCTIONS_BREZZIDOUGLASMARINI1_CUBE3D_LOCALINTERPOLATION_HH
BDM1Cube3DLocalInterpolation()
Standard constructor.
Definition: brezzidouglasmarini1cube3dlocalinterpolation.hh:28
void interpolate(const F &f, std::vector< C > &out) const
Interpolate a given function with shape functions.
Definition: brezzidouglasmarini1cube3dlocalinterpolation.hh:95
Definition: brezzidouglasmarini1cube2dlocalbasis.hh:14
BDM1Cube3DLocalInterpolation(unsigned int s)
Make set number s, where 0 <= s < 64.
Definition: brezzidouglasmarini1cube3dlocalinterpolation.hh:38
First order Brezzi-Douglas-Marini shape functions on the reference hexahedron.
Definition: brezzidouglasmarini1cube3dlocalinterpolation.hh:23