Dune Core Modules (2.8.0)

q2.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_Q2_LOCALFINITEELEMENT_HH
4#define DUNE_Q2_LOCALFINITEELEMENT_HH
5
8
9#include <dune/localfunctions/common/localfiniteelementtraits.hh>
10#include <dune/localfunctions/common/localtoglobaladaptors.hh>
11#include "pk.hh"
12#include "qk.hh"
13
14namespace Dune
15{
17
22 template<class Geometry, class RF>
25 typename std::conditional<Geometry::mydimension == 1,
26 PkLocalFiniteElement<typename Geometry::ctype, RF, 1, 2>,
27 QkLocalFiniteElement<typename Geometry::ctype, RF, Geometry::mydimension, 2> >::type,
28 Geometry>
29 {
30 typedef typename std::conditional<Geometry::mydimension == 1,
34
35 static const LFE lfe;
36
37 public:
40 };
41
42 template<class Geometry, class RF>
43 const typename Q2FiniteElementFactory<Geometry, RF>::LFE
44 Q2FiniteElementFactory<Geometry, RF>::lfe;
45}
46
47#endif
@ mydimension
Definition: geometry.hh:90
Lagrange finite element for cubes with arbitrary compile-time dimension and polynomial order.
Definition: lagrangecube.hh:709
Lagrange finite element for simplices with arbitrary compile-time dimension and polynomial order.
Definition: lagrangesimplex.hh:836
Factory for global-valued Q23D elements.
Definition: q2.hh:29
Q2FiniteElementFactory()
default constructor
Definition: q2.hh:39
Factory for ScalarLocalToGlobalFiniteElementAdaptor objects.
Definition: localtoglobaladaptors.hh:242
Traits for type conversions and type information.
Dune namespace.
Definition: alignedallocator.hh:11
A unique label for each type of element that can occur in a grid.
Creative Commons License   |  Legal Statements / Impressum  |  Hosted by TU Dresden  |  generated with Hugo v0.111.3 (Nov 21, 23:30, 2024)