Dune Core Modules (2.6.0)

lagrange.hh
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_LAGRANGEFINITEELEMENT_HH
4 #define DUNE_LAGRANGEFINITEELEMENT_HH
5 
6 #include <dune/localfunctions/utility/localfiniteelement.hh>
7 #include <dune/localfunctions/utility/dglocalcoefficients.hh>
8 
9 #include <dune/localfunctions/lagrange/lagrangecoefficients.hh>
10 #include <dune/localfunctions/lagrange/interpolation.hh>
11 #include <dune/localfunctions/lagrange/lagrangebasis.hh>
12 
13 namespace Dune
14 {
44  template< template <class,unsigned int> class LP,
45  unsigned int dimDomain, class D, class R,
46  class SF=R, class CF=SF >
48  : public GenericLocalFiniteElement< LagrangeBasisFactory< LP, dimDomain, SF, CF >,
49  LagrangeCoefficientsFactory<LP, dimDomain, SF >,
50  LagrangeInterpolationFactory< LP, dimDomain, SF > >
51  {
53  LagrangeCoefficientsFactory<LP, dimDomain, SF >,
54  LagrangeInterpolationFactory< LP, dimDomain, SF > > Base;
55  public:
56  typedef typename Base::Traits Traits;
57 
60  LagrangeLocalFiniteElement ( const GeometryType &gt, unsigned int order )
61  : Base( gt, order )
62  {}
63  };
64 }
65 
66 #endif // #ifndef DUNE_LAGRANGEFINITEELEMENT_HH
Unique label for each type of entities that can occur in DUNE grids.
Definition: type.hh:277
Lagrange local finite elements for a given set of interpolation points.
Definition: lagrange.hh:51
LagrangeLocalFiniteElement(const GeometryType &gt, unsigned int order)
Definition: lagrange.hh:60
bool gt(const T &first, const T &second, typename EpsilonType< T >::Type epsilon)
test if first greater than second
Definition: float_cmp.cc:147
Dune namespace.
Definition: alignedallocator.hh:10
A LocalFiniteElement implementation based on three TopologyFactories providing the LocalBasis,...
Definition: localfiniteelement.hh:22
traits helper struct
Definition: localfiniteelementtraits.hh:11
Creative Commons License   |  Legal Statements / Impressum  |  Hosted by TU Dresden  |  generated with Hugo v0.80.0 (May 6, 22:30, 2024)