dune-localfunctions  2.3beta2
qk.hh
Go to the documentation of this file.
1 // -*- tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 2 -*-
2 // vi: set et ts=4 sw=2 sts=2:
3 
4 #ifndef DUNE_LOCALFUNCTIONS_QK_LOCALFINITEELEMENT_HH
5 #define DUNE_LOCALFUNCTIONS_QK_LOCALFINITEELEMENT_HH
6 
8 #include "qk/qklocalbasis.hh"
10 
11 namespace Dune
12 {
21  template<class D, class R, int d, int k>
23 
27 
28  public:
29 
33 
37  {
38  gt.makeCube(d);
39  }
40 
43  const typename Traits::LocalBasisType& localBasis () const
44  {
45  return basis;
46  }
47 
51  {
52  return coefficients;
53  }
54 
58  {
59  return interpolation;
60  }
61 
64  GeometryType type () const
65  {
66  return gt;
67  }
68 
70  {
71  return new QkLocalFiniteElement(*this);
72  }
73 
74  private:
75  LocalBasis basis;
76  LocalCoefficients coefficients;
77  LocalInterpolation interpolation;
78  GeometryType gt;
79  };
80 
81 }
82 
83 #endif