Dune Core Modules (unstable)

q1.hh
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
6#ifndef DUNE_Q1_LOCALFINITEELEMENT_HH
7#define DUNE_Q1_LOCALFINITEELEMENT_HH
8
10
11#include <dune/localfunctions/common/localfiniteelementtraits.hh>
12#include <dune/localfunctions/common/localtoglobaladaptors.hh>
13#include <dune/localfunctions/lagrange/lagrangecube.hh>
14
15namespace Dune
16{
17
19
24 template<class Geometry, class RF>
27 LagrangeCubeLocalFiniteElement<
28 typename Geometry::ctype, RF, Geometry::mydimension, 1
29 >,
30 Geometry
31 >
32 {
35 > LFE;
37
38 static const LFE lfe;
39
40 public:
43 };
44
45 template<class Geometry, class RF>
46 const typename Q1FiniteElementFactory<Geometry, RF>::LFE
47 Q1FiniteElementFactory<Geometry, RF>::lfe;
48}
49
50#endif
GridImp::ctype ctype
define type used for coordinates in grid module
Definition: geometry.hh:100
static constexpr int mydimension
geometry dimension
Definition: geometry.hh:94
Lagrange finite element for cubes with arbitrary compile-time dimension and polynomial order.
Definition: lagrangecube.hh:709
Factory for global-valued Q1 elements.
Definition: q1.hh:32
Q1FiniteElementFactory()
default constructor
Definition: q1.hh:42
Factory for ScalarLocalToGlobalFiniteElementAdaptor objects.
Definition: localtoglobaladaptors.hh:244
Dune namespace.
Definition: alignedallocator.hh:13
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 (Dec 21, 23:30, 2024)