DUNE PDELab (git)

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// SPDX-FileCopyrightInfo: Copyright © DUNE Project contributors, see file LICENSE.md in module root
4// SPDX-License-Identifier: LicenseRef-GPL-2.0-only-with-DUNE-exception
5#ifndef DUNE_LOCALFUNCTIONS_LAGRANGE_HH
6#define DUNE_LOCALFUNCTIONS_LAGRANGE_HH
7
12// Headers for Lagrange elements with run-time order
13#include <dune/localfunctions/utility/localfiniteelement.hh>
14#include <dune/localfunctions/utility/dglocalcoefficients.hh>
15
16#include <dune/localfunctions/lagrange/lagrangecoefficients.hh>
17#include <dune/localfunctions/lagrange/interpolation.hh>
18#include <dune/localfunctions/lagrange/lagrangebasis.hh>
19
20// Headers for Lagrange elements with compile-time order
21#include <dune/localfunctions/lagrange/lagrangecube.hh>
22#include <dune/localfunctions/lagrange/lagrangepyramid.hh>
23#include <dune/localfunctions/lagrange/lagrangeprism.hh>
24#include <dune/localfunctions/lagrange/lagrangesimplex.hh>
25#include <dune/localfunctions/lagrange/p0.hh>
26#include <dune/localfunctions/lagrange/pq22d.hh>
27
28namespace Dune
29{
59 template< template <class,unsigned int> class LP,
60 unsigned int dimDomain, class D, class R,
61 class SF=R, class CF=SF >
63 : public GenericLocalFiniteElement< LagrangeBasisFactory< LP, dimDomain, SF, CF >,
64 LagrangeCoefficientsFactory<LP, dimDomain, SF >,
65 LagrangeInterpolationFactory< LP, dimDomain, SF > >
66 {
68 LagrangeCoefficientsFactory<LP, dimDomain, SF >,
69 LagrangeInterpolationFactory< LP, dimDomain, SF > > Base;
70 public:
71 typedef typename Base::Traits Traits;
72
75 LagrangeLocalFiniteElement ( const GeometryType &gt, unsigned int order )
76 : Base( gt, order )
77 {}
78 };
79}
80
81#endif // #ifndef DUNE_LOCALFUNCTIONS_LAGRANGE_HH
Unique label for each type of entities that can occur in DUNE grids.
Definition: type.hh:114
Lagrange local finite elements for a given set of interpolation points.
Definition: lagrange.hh:66
LagrangeLocalFiniteElement(const GeometryType &gt, unsigned int order)
Definition: lagrange.hh:75
bool gt(const T &first, const T &second, typename EpsilonType< T >::Type epsilon)
test if first greater than second
Definition: float_cmp.cc:158
Dune namespace.
Definition: alignedallocator.hh:13
A LocalFiniteElement implementation based on three TopologyFactories providing the LocalBasis,...
Definition: localfiniteelement.hh:25
traits helper struct
Definition: localfiniteelementtraits.hh:13
Creative Commons License   |  Legal Statements / Impressum  |  Hosted by TU Dresden  |  generated with Hugo v0.111.3 (Nov 13, 23:29, 2024)