dune-localfunctions  2.2.1
pk.hh
Go to the documentation of this file.
1 // -*- tab-width: 4; indent-tabs-mode: nil -*-
2 /* vim: set ai expandtab sw=4 ts=4: */
3 #ifndef DUNE_PK_LOCALFINITEELEMENT_HH
4 #define DUNE_PK_LOCALFINITEELEMENT_HH
5 
6 #include "p0.hh"
7 #include "p1.hh"
8 #include "pk1d.hh"
9 #include "pk2d.hh"
10 #include "pk3d.hh"
11 
12 namespace Dune
13 {
14 
22  template<class D, class R, int d, int k>
24  {
25  public:
27  {}
28 
35  PkLocalFiniteElement(const unsigned int vertexmap[k+1])
36  {}
37  };
38 #if 0
39 
44  template<class D, class R>
45  class PkLocalFiniteElement<D, R, 1, 1>
46  : public P1LocalFiniteElement<D, R, 1>
47  {
48  public:
50  {}
51 
52  PkLocalFiniteElement(const unsigned int vertexmap[2])
53  {}
54  };
55 
62  template<class D, class R>
63  class PkLocalFiniteElement<D, R, 1, 0>
64  : public P0LocalFiniteElement<D, R, 1>
65  {
66  public:
68  : P0LocalFiniteElement<D,R,1>(GeometryType(0,1))
69  {}
70 
71  PkLocalFiniteElement(const unsigned int vertexmap[2])
72  {}
73  };
74 #endif
75 
81  template<class D, class R, int k>
82  class PkLocalFiniteElement<D, R, 1, k>
83  : public Pk1DLocalFiniteElement<D, R, k>
84  {
85  public:
87  {}
88 
89  PkLocalFiniteElement(const unsigned int vertexmap[2]):
90  Pk1DLocalFiniteElement<D, R, k>(vertexmap)
91  {}
92  };
93 
100  template<class D, class R, int k>
101  class PkLocalFiniteElement<D, R, 2, k>
102  : public Pk2DLocalFiniteElement<D, R, k>
103  {
104  public:
106  {}
107 
108  PkLocalFiniteElement(const unsigned int vertexmap[3]):
109  Pk2DLocalFiniteElement<D, R, k>(vertexmap)
110  {}
111  };
112 
119  template<class D, class R, int k>
120  class PkLocalFiniteElement<D, R, 3, k>
121  : public Pk3DLocalFiniteElement<D, R, k>
122  {
123  public:
125  {}
126 
127  PkLocalFiniteElement(const unsigned int vertexmap[4]):
128  Pk3DLocalFiniteElement<D, R, k>(vertexmap)
129  {}
130  };
131 
132 }
133 
134 #endif