Dune Core Modules (2.8.0)

lagrange.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_LAGRANGE_HH
4#define DUNE_LOCALFUNCTIONS_LAGRANGE_HH
5
10// Headers for Lagrange elements with run-time order
11#include <dune/localfunctions/utility/localfiniteelement.hh>
12#include <dune/localfunctions/utility/dglocalcoefficients.hh>
13
14#include <dune/localfunctions/lagrange/lagrangecoefficients.hh>
15#include <dune/localfunctions/lagrange/interpolation.hh>
16#include <dune/localfunctions/lagrange/lagrangebasis.hh>
17
18// Headers for Lagrange elements with compile-time order
19#include <dune/localfunctions/lagrange/lagrangecube.hh>
20#include <dune/localfunctions/lagrange/lagrangesimplex.hh>
21#include <dune/localfunctions/lagrange/p0.hh>
22#include <dune/localfunctions/lagrange/p1.hh>
23#include <dune/localfunctions/lagrange/p2.hh>
24#include <dune/localfunctions/lagrange/p23d.hh>
25#include <dune/localfunctions/lagrange/pk.hh>
26#include <dune/localfunctions/lagrange/pk1d.hh>
27#include <dune/localfunctions/lagrange/pk2d.hh>
28#include <dune/localfunctions/lagrange/pk3d.hh>
29#include <dune/localfunctions/lagrange/pq22d.hh>
30
31#include <dune/localfunctions/lagrange/q1.hh>
32#include <dune/localfunctions/lagrange/q2.hh>
33#include <dune/localfunctions/lagrange/qk.hh>
34
35#include <dune/localfunctions/lagrange/prismp1.hh>
36#include <dune/localfunctions/lagrange/prismp2.hh>
37#include <dune/localfunctions/lagrange/pyramidp1.hh>
38#include <dune/localfunctions/lagrange/pyramidp2.hh>
39
40
41namespace Dune
42{
72 template< template <class,unsigned int> class LP,
73 unsigned int dimDomain, class D, class R,
74 class SF=R, class CF=SF >
76 : public GenericLocalFiniteElement< LagrangeBasisFactory< LP, dimDomain, SF, CF >,
77 LagrangeCoefficientsFactory<LP, dimDomain, SF >,
78 LagrangeInterpolationFactory< LP, dimDomain, SF > >
79 {
81 LagrangeCoefficientsFactory<LP, dimDomain, SF >,
82 LagrangeInterpolationFactory< LP, dimDomain, SF > > Base;
83 public:
84 typedef typename Base::Traits Traits;
85
88 LagrangeLocalFiniteElement ( const GeometryType &gt, unsigned int order )
89 : Base( gt, order )
90 {}
91 };
92}
93
94#endif // #ifndef DUNE_LOCALFUNCTIONS_LAGRANGE_HH
Unique label for each type of entities that can occur in DUNE grids.
Definition: type.hh:123
Lagrange local finite elements for a given set of interpolation points.
Definition: lagrange.hh:79
LagrangeLocalFiniteElement(const GeometryType &gt, unsigned int order)
Definition: lagrange.hh:88
bool gt(const T &first, const T &second, typename EpsilonType< T >::Type epsilon)
test if first greater than second
Definition: float_cmp.cc:156
Dune namespace.
Definition: alignedallocator.hh:11
A LocalFiniteElement implementation based on three TopologyFactories providing the LocalBasis,...
Definition: localfiniteelement.hh:23
traits helper struct
Definition: localfiniteelementtraits.hh:11
Creative Commons License   |  Legal Statements / Impressum  |  Hosted by TU Dresden  |  generated with Hugo v0.111.3 (Dec 22, 23:30, 2024)