3 #ifndef DUNE_PK1DLOCALFINITEELEMENT_HH
4 #define DUNE_PK1DLOCALFINITEELEMENT_HH
8 #include <dune/geometry/type.hh>
21 template<
class D,
class R,
unsigned int k>
102 template<
class Geometry,
class RF, std::
size_t k>
104 typedef typename Geometry::ctype DF;
122 static const GeometryType gt;
145 template<
class VertexOrder>
147 const VertexOrder& vertexOrder) :
148 basis_(localBasis, geometry), interpolation_(localInterpolation),
149 coefficients_(vertexOrder.begin(0, 0))
154 {
return interpolation_; }
156 {
return coefficients_; }
157 const GeometryType &
type()
const {
return gt; }
160 template<
class Geometry,
class RF, std::
size_t k>
162 Pk1DFiniteElement<Geometry, RF, k>::gt(GeometryType::simplex, 2);
164 template<
class Geometry,
class RF, std::
size_t k>
165 const typename Pk1DFiniteElement<Geometry, RF, k>::LocalBasis
166 Pk1DFiniteElement<Geometry, RF, k>::localBasis = LocalBasis();
168 template<
class Geometry,
class RF, std::
size_t k>
169 const typename Pk1DFiniteElement<Geometry, RF, k>::LocalInterpolation
170 Pk1DFiniteElement<Geometry, RF, k>::localInterpolation =
171 LocalInterpolation();
184 template<
class Geometry,
class RF, std::
size_t k>
203 template<
class VertexOrder>
205 const VertexOrder& vertexOrder)