dune-localfunctions
2.9.0
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 (C) 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
#warning This header is deprecated
16
17
namespace
Dune
18
{
19
27
template
<
class
D,
class
R,
int
dim>
28
using
Q1LocalFiniteElement
29
[[deprecated(
"use LagrangeCubeLocalFiniteElement instead"
)]]
30
=
LagrangeCubeLocalFiniteElement<D,R,dim,1>
;
31
32
34
39
template
<
class
Geometry,
class
RF>
40
class
Q1FiniteElementFactory
:
41
public
ScalarLocalToGlobalFiniteElementAdaptorFactory
<
42
LagrangeCubeLocalFiniteElement<
43
typename Geometry::ctype, RF, Geometry::mydimension, 1
44
>,
45
Geometry
46
>
47
{
48
typedef
LagrangeCubeLocalFiniteElement
<
49
typename
Geometry::ctype, RF, Geometry::mydimension, 1
50
>
LFE
;
51
typedef
ScalarLocalToGlobalFiniteElementAdaptorFactory<LFE, Geometry>
Base
;
52
53
static
const
LFE
lfe;
54
55
public
:
57
Q1FiniteElementFactory
() :
Base
(lfe) {}
58
};
59
60
template
<
class
Geometry,
class
RF>
61
const
typename
Q1FiniteElementFactory<Geometry, RF>::LFE
62
Q1FiniteElementFactory<Geometry, RF>::lfe;
63
}
64
65
#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:711
Dune::Q1FiniteElementFactory
Factory for global-valued Q1 elements.
Definition
q1.hh:47
Dune::Q1FiniteElementFactory::Q1FiniteElementFactory
Q1FiniteElementFactory()
default constructor
Definition
q1.hh:57
Generated by
1.9.8