dune-localfunctions
2.10
Loading...
Searching...
No Matches
dune
localfunctions
lagrange
q1.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
6
#ifndef DUNE_Q1_LOCALFINITEELEMENT_HH
7
#define DUNE_Q1_LOCALFINITEELEMENT_HH
8
9
#include <dune/geometry/type.hh>
10
11
#include <
dune/localfunctions/common/localfiniteelementtraits.hh
>
12
#include <
dune/localfunctions/common/localtoglobaladaptors.hh
>
13
#include <
dune/localfunctions/lagrange/lagrangecube.hh
>
14
15
namespace
Dune
16
{
17
19
24
template
<
class
Geometry,
class
RF>
25
class
Q1FiniteElementFactory
:
26
public
ScalarLocalToGlobalFiniteElementAdaptorFactory
<
27
LagrangeCubeLocalFiniteElement<
28
typename Geometry::ctype, RF, Geometry::mydimension, 1
29
>,
30
Geometry
31
>
32
{
33
typedef
LagrangeCubeLocalFiniteElement
<
34
typename
Geometry::ctype, RF, Geometry::mydimension, 1
35
>
LFE
;
36
typedef
ScalarLocalToGlobalFiniteElementAdaptorFactory<LFE, Geometry>
Base
;
37
38
static
const
LFE
lfe;
39
40
public
:
42
Q1FiniteElementFactory
() :
Base
(lfe) {}
43
};
44
45
template
<
class
Geometry,
class
RF>
46
const
typename
Q1FiniteElementFactory<Geometry, RF>::LFE
47
Q1FiniteElementFactory<Geometry, RF>::lfe;
48
}
49
50
#endif
lagrangecube.hh
localtoglobaladaptors.hh
localfiniteelementtraits.hh
Dune
Definition
bdfmcube.hh:18
Dune::ScalarLocalToGlobalFiniteElementAdaptorFactory
Factory for ScalarLocalToGlobalFiniteElementAdaptor objects.
Definition
localtoglobaladaptors.hh:244
Dune::LagrangeCubeLocalFiniteElement
Lagrange finite element for cubes with arbitrary compile-time dimension and polynomial order.
Definition
lagrangecube.hh:709
Dune::Q1FiniteElementFactory
Factory for global-valued Q1 elements.
Definition
q1.hh:32
Dune::Q1FiniteElementFactory::Q1FiniteElementFactory
Q1FiniteElementFactory()
default constructor
Definition
q1.hh:42
Generated by
1.9.8