dune-localfunctions  2.3.1
raviartthomassimplex.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_LOCALFUNCTIONS_RAVIARTTHOMAS_SIMPLEX_HH
4 #define DUNE_LOCALFUNCTIONS_RAVIARTTHOMAS_SIMPLEX_HH
5 
8 
15 namespace Dune
16 {
31  template<unsigned int dimDomain, class D, class R,
32  class SF=R, class CF=SF>
34  : public GenericLocalFiniteElement<RaviartThomasBasisFactory<dimDomain, SF, CF>,
35  RaviartThomasCoefficientsFactory<dimDomain>,
36  RaviartThomasL2InterpolationFactory<dimDomain, SF> >
37  {
41  public:
42  using typename Base::Traits;
43 
45  RaviartThomasSimplexLocalFiniteElement(const GeometryType &gt, unsigned int order)
46  : Base(gt, order)
47  {}
48  };
49 
56  template< unsigned int dimDomain, class D, class R,
57  class SF=R, class CF=SF >
58  class
59  DUNE_DEPRECATED_MSG("Use RaviartThomasSimplexLocalFiniteElement instead")
61  : public GenericLocalFiniteElement< RaviartThomasBasisFactory< dimDomain, SF, CF >,
63  RaviartThomasL2InterpolationFactory< dimDomain, SF > >
64  {
65  public:
67  RaviartThomasLocalFiniteElement(const GeometryType &gt, unsigned int order)
68  : RaviartThomasSimplexLocalFiniteElement<dimDomain, D, R, SF, CF>::
70  {}
71  };
72 } // namespace Dune
73 
74 #endif // #ifndef DUNE_LOCALFUNCTIONS_RAVIARTTHOMAS_SIMPLEX_HH