dune-localfunctions  2.2.1
hierarchicalprismp2.hh
Go to the documentation of this file.
1 // -*- tab-width: 4; indent-tabs-mode: nil -*-
2 // vi: set ts=4 sw=2 et sts=2:
3 #ifndef DUNE_HIERARCHICAL_PRISM_P2_LOCALFINITEELEMENT_HH
4 #define DUNE_HIERARCHICAL_PRISM_P2_LOCALFINITEELEMENT_HH
5 
6 #include <dune/geometry/type.hh>
7 
10 
13 
14 
15 namespace Dune
16 {
17 
20  template<class D, class R>
22  {
23 
24 
25  public:
31 
35  {
36  gt.makePrism();
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 
68  {
69  return new HierarchicalPrismP2LocalFiniteElement(*this);
70  }
71 
72  private:
74 
76  PrismP2LocalCoefficients coefficients;
77 
79  GeometryType gt;
80  };
81 
82 }
83 
84 #endif
85