3 #ifndef DUNE_PK2DLOCALFINITEELEMENT_HH
4 #define DUNE_PK2DLOCALFINITEELEMENT_HH
8 #include <dune/geometry/type.hh>
21 template<
class D,
class R,
unsigned int k>
104 template<
class Geometry,
class RF, std::
size_t k>
106 typedef typename Geometry::ctype DF;
124 static const GeometryType gt;
147 template<
class VertexOrder>
149 const VertexOrder& vertexOrder) :
150 basis_(localBasis, geometry), interpolation_(localInterpolation),
151 coefficients_(vertexOrder.begin(0, 0))
156 {
return interpolation_; }
158 {
return coefficients_; }
159 const GeometryType &
type()
const {
return gt; }
162 template<
class Geometry,
class RF, std::
size_t k>
164 Pk2DFiniteElement<Geometry, RF, k>::gt(GeometryType::simplex, 2);
166 template<
class Geometry,
class RF, std::
size_t k>
167 const typename Pk2DFiniteElement<Geometry, RF, k>::LocalBasis
168 Pk2DFiniteElement<Geometry, RF, k>::localBasis = LocalBasis();
170 template<
class Geometry,
class RF, std::
size_t k>
171 const typename Pk2DFiniteElement<Geometry, RF, k>::LocalInterpolation
172 Pk2DFiniteElement<Geometry, RF, k>::localInterpolation =
173 LocalInterpolation();
186 template<
class Geometry,
class RF, std::
size_t k>
205 template<
class VertexOrder>
207 const VertexOrder& vertexOrder)