dune-localfunctions  2.2.1
rannacherturek2d.hh
Go to the documentation of this file.
1 #ifndef DUNE_RANNACHER_TUREK2DLOCALFINITEELEMENT_HH
2 #define DUNE_RANNACHER_TUREK2DLOCALFINITEELEMENT_HH
3 
4 #include<dune/geometry/type.hh>
5 
7 
11 
12 namespace Dune {
13 
14  template<class D, class R>
16  {
20  GeometryType gt;
21 
22  public:
27 
28  RannacherTurek2DLocalFiniteElement () { gt.makeQuadrilateral(); }
29 
30  const typename Traits::LocalBasisType& localBasis () const
31  {
32  return basis;
33  }
34 
36  {
37  return coefficients;
38  }
39 
41  {
42  return interpolation;
43  }
44 
45  GeometryType type () const { return gt; }
46  };
47 
48 } // namespace Dune
49 
50 #endif // DUNE_RANNACHER_TUREK2DLOCALFINITEELEMENT_HH