dune-localfunctions  2.2.1
raviartthomas0q3d.hh
Go to the documentation of this file.
1 #ifndef DUNE_RAVIARTTHOMAS0Q3DLOCALFINITEELEMENT_HH
2 #define DUNE_RAVIARTTHOMAS0Q3DLOCALFINITEELEMENT_HH
3 
4 #include <dune/geometry/type.hh>
5 
8 
9 namespace Dune
10 {
11  template<class D, class R>
13  {
14  public:
17 
19  {
20  gt.makeHexahedron();
21  }
22 
23  RT0Q3DLocalFiniteElement (int s) : basis(s), interpolation(s)
24  {
25  gt.makeHexahedron();
26  }
27 
28  const typename Traits::LocalBasisType& localBasis () const
29  {
30  return basis;
31  }
32 
34  {
35  return coefficients;
36  }
37 
39  {
40  return interpolation;
41  }
42 
43  GeometryType type () const
44  {
45  return gt;
46  }
47 
48  private:
50  RT0Q3DLocalCoefficients coefficients;
52  GeometryType gt;
53  };
54 }
55 #endif