dune-localfunctions  2.2.1
prismp2.hh
Go to the documentation of this file.
1 // -*- tab-width: 4; indent-tabs-mode: nil -*-
2 #ifndef DUNE_PRISM2_3DLOCALFINITEELEMENT_HH
3 #define DUNE_PRISM2_3DLOCALFINITEELEMENT_HH
4 
5 #include <dune/geometry/type.hh>
6 
11 
12 namespace Dune
13 {
14 
17  template<class D, class R>
19  {
20  public:
26 
30  {
31  gt.makePrism();
32  }
33 
36  const typename Traits::LocalBasisType& localBasis () const
37  {
38  return basis;
39  }
40 
44  {
45  return coefficients;
46  }
47 
51  {
52  return interpolation;
53  }
54 
57  GeometryType type () const
58  {
59  return gt;
60  }
61 
63  {
64  return new PrismP2LocalFiniteElement(*this);
65  }
66 
67  private:
69  PrismP2LocalCoefficients coefficients;
71  GeometryType gt;
72  };
73 
74 }
75 
76 #endif