Dune Core Modules (2.6.0)

pk.hh
1 // -*- tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 2 -*-
2 // vi: set et ts=4 sw=2 sts=2:
3 /* vim: set ai expandtab sw=4 ts=4: */
4 #ifndef DUNE_PK_LOCALFINITEELEMENT_HH
5 #define DUNE_PK_LOCALFINITEELEMENT_HH
6 
7 #include "p0.hh"
8 #include "p1.hh"
9 #include "pk1d.hh"
10 #include "pk2d.hh"
11 #include "pk3d.hh"
12 
13 namespace Dune
14 {
15 
23  template<class D, class R, int d, int k>
25  {
26  public:
28  {}
29 
36  PkLocalFiniteElement(const unsigned int vertexmap[k+1])
37  {}
38  };
39 #if 0
45  template<class D, class R>
46  class PkLocalFiniteElement<D, R, 1, 1>
47  : public P1LocalFiniteElement<D, R, 1>
48  {
49  public:
50  PkLocalFiniteElement()
51  {}
52 
53  PkLocalFiniteElement(const unsigned int vertexmap[2])
54  {}
55  };
56 
63  template<class D, class R>
64  class PkLocalFiniteElement<D, R, 1, 0>
65  : public P0LocalFiniteElement<D, R, 1>
66  {
67  public:
68  PkLocalFiniteElement()
69  : P0LocalFiniteElement<D,R,1>(GeometryType(0,1))
70  {}
71 
72  PkLocalFiniteElement(const unsigned int vertexmap[2])
73  {}
74  };
75 #endif
82  template<class D, class R, int k>
83  class PkLocalFiniteElement<D, R, 1, k>
84  : public Pk1DLocalFiniteElement<D, R, k>
85  {
86  public:
88  {}
89 
90  PkLocalFiniteElement(const unsigned int vertexmap[2]) :
92  {}
93  };
94 
101  template<class D, class R, int k>
102  class PkLocalFiniteElement<D, R, 2, k>
103  : public Pk2DLocalFiniteElement<D, R, k>
104  {
105  public:
107  {}
108 
109  PkLocalFiniteElement(const unsigned int vertexmap[3]) :
111  {}
112  };
113 
120  template<class D, class R, int k>
121  class PkLocalFiniteElement<D, R, 3, k>
122  : public Pk3DLocalFiniteElement<D, R, k>
123  {
124  public:
126  {}
127 
128  PkLocalFiniteElement(const unsigned int vertexmap[4]) :
130  {}
131  };
132 
133 }
134 
135 #endif
Definition: pk1d.hh:23
Definition: pk2d.hh:23
Definition: pk3d.hh:20
General Lagrange finite element with arbitrary dimension and polynomial order.
Definition: pk.hh:25
PkLocalFiniteElement(const unsigned int vertexmap[k+1])
Definition: pk.hh:36
GeometryType
Type representing VTK's entity geometry types.
Definition: common.hh:178
Dune namespace.
Definition: alignedallocator.hh:10
Creative Commons License   |  Legal Statements / Impressum  |  Hosted by TU Dresden  |  generated with Hugo v0.80.0 (Apr 27, 22:29, 2024)