dune-localfunctions  2.3beta2
rannacherturek/rannacherturek.hh
Go to the documentation of this file.
1 // -*- tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 2 -*-
2 // vi: set et ts=4 sw=2 sts=2:
3 #ifndef DUNE_RANNACHER_TUREK_LOCALFINITEELEMENT_HH
4 #define DUNE_RANNACHER_TUREK_LOCALFINITEELEMENT_HH
5 
6 #include <dune/geometry/genericgeometry/topologytypes.hh>
7 #include <dune/geometry/type.hh>
8 
10 
14 
15 namespace Dune
16 {
17 
25  template< class D, class R, unsigned int d >
27  {
32  > Traits;
33 
35  const typename Traits::LocalBasisType &localBasis () const
36  {
37  return localBasis_;
38  }
39 
42  {
43  return localCoefficients_;
44  }
45 
48  {
49  return localInterpolation_;
50  }
51 
53  GeometryType type () const
54  {
55  return GeometryType( typename GenericGeometry::CubeTopology< d >::type() );
56  }
57 
58  private:
59  typename Traits::LocalBasisType localBasis_;
60  typename Traits::LocalCoefficientsType localCoefficients_;
61  typename Traits::LocalInterpolationType localInterpolation_;
62  };
63 
64 } // namespace Dune
65 
66 #endif // #ifndef DUNE_RANNACHER_TUREK_LOCALFINITEELEMENT_HH