dune-localfunctions  2.2.1
q22d.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 
4 #ifndef DUNE_Q22DLOCALFINITEELEMENT_HH
5 #define DUNE_Q22DLOCALFINITEELEMENT_HH
6 
7 #warning This file is deprecated and will be removed after Dune 2.2. \
8  Please use q2.hh instead!
9 
10 #include <dune/geometry/type.hh>
11 
14 #include "q22d/q22dlocalbasis.hh"
17 
18 namespace Dune
19 {
20 
23  template<class D, class R>
25  {
26  public:
31 
35  {
36  gt.makeQuadrilateral();
37  }
38 
41  const typename Traits::LocalBasisType& localBasis () const
42  {
43  return basis;
44  }
45 
49  {
50  return coefficients;
51  }
52 
56  {
57  return interpolation;
58  }
59 
62  GeometryType type () const
63  {
64  return gt;
65  }
66 
67  private:
68  Q22DLocalBasis<D,R> basis;
69  Q22DLocalCoefficients coefficients;
71  GeometryType gt;
72  };
73 
75 
80  template<class Geometry, class RF>
83  Q22DLocalFiniteElement<typename Geometry::ctype, RF>, Geometry
84  >
85  {
88 
89  static const LFE lfe;
90 
91  public:
94  };
95 
96  template<class Geometry, class RF>
97  const typename Q22DFiniteElementFactory<Geometry, RF>::LFE
98  Q22DFiniteElementFactory<Geometry, RF>::lfe;
99 }
100 
101 #endif