Dune Core Modules (2.6.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
General Lagrange finite element with arbitrary dimension and polynomial order.
Definition: pk.hh:25
Factory for global-valued Q23D elements.
Definition: q2.hh:29
Q2FiniteElementFactory()
default constructor
Definition: q2.hh:39
General Lagrange finite element for cubes with arbitrary dimension and polynomial order.
Definition: qk.hh:22
Factory for ScalarLocalToGlobalFiniteElementAdaptor objects.
Definition: localtoglobaladaptors.hh:242
Dune namespace.
Definition: alignedallocator.hh:10
A unique label for each type of element that can occur in a grid.
Traits for type conversions and type information.
Creative Commons License   |  Legal Statements / Impressum  |  Hosted by TU Dresden  |  generated with Hugo v0.111.3 (Nov 24, 23:30, 2024)