dune-localfunctions  2.2.0
raviartthomas0q.hh
Go to the documentation of this file.
1 // -*- tab-width: 4; indent-tabs-mode: nil -*-
2 #ifndef DUNE_RAVIARTTHOMAS0QLOCALFINITEELEMENT_HH
3 #define DUNE_RAVIARTTHOMAS0QLOCALFINITEELEMENT_HH
4 
5 #include "raviartthomas0q2d.hh"
6 #include "raviartthomas0q3d.hh"
7 
8 namespace Dune
9 {
10 
21  template<class D, class R, int dim>
22  class RT0QLocalFiniteElement;
23 
30  template<class D, class R>
31  class RT0QLocalFiniteElement<D, R, 2>
32  : public RT0Q2DLocalFiniteElement<D, R>
33  {
34  public:
35  RT0QLocalFiniteElement () : RT0Q2DLocalFiniteElement<D, R>()
36  {
37  }
38 
39  RT0QLocalFiniteElement (int s) : RT0Q2DLocalFiniteElement<D, R>(s)
40  {
41  }
42  };
43 
50  template<class D, class R>
51  class RT0QLocalFiniteElement<D, R, 3>
52  : public RT0Q3DLocalFiniteElement<D, R>
53  {
54  public:
55  RT0QLocalFiniteElement () : RT0Q3DLocalFiniteElement<D, R>()
56  {
57  }
58 
59  RT0QLocalFiniteElement (int s) : RT0Q3DLocalFiniteElement<D, R>(s)
60  {
61  }
62  };
63 
64 }
65 
66 #endif