dune-localfunctions
2.3.1
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
dune
localfunctions
rannacherturek
rannacherturek/rannacherturek.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
#ifndef DUNE_RANNACHER_TUREK_LOCALFINITEELEMENT_HH
4
#define DUNE_RANNACHER_TUREK_LOCALFINITEELEMENT_HH
5
6
#include <dune/geometry/genericgeometry/topologytypes.hh>
7
#include <dune/geometry/type.hh>
8
9
#include <
dune/localfunctions/common/localfiniteelementtraits.hh
>
10
11
#include "
rannachertureklocalbasis.hh
"
12
#include "
rannachertureklocalcoefficients.hh
"
13
#include "
rannachertureklocalinterpolation.hh
"
14
15
namespace
Dune
16
{
17
25
template
<
class
D,
class
R,
unsigned
int
d >
26
struct
RannacherTurekLocalFiniteElement
27
{
29
typedef
LocalFiniteElementTraits< RannacherTurekLocalBasis< D, R, d >
,
30
RannacherTurekLocalCoefficients< d >
,
31
RannacherTurekLocalInterpolation< D, R, d >
32
>
Traits
;
33
35
const
typename
Traits::LocalBasisType
&
localBasis
()
const
36
{
37
return
localBasis_;
38
}
39
41
const
typename
Traits::LocalCoefficientsType
&
localCoefficients
()
const
42
{
43
return
localCoefficients_;
44
}
45
47
const
typename
Traits::LocalInterpolationType
&
localInterpolation
()
const
48
{
49
return
localInterpolation_;
50
}
51
53
GeometryType
type
()
const
54
{
55
return
GeometryType(
typename
GenericGeometry::CubeTopology< d >::type() );
56
}
57
58
private
:
59
typename
Traits::LocalBasisType
localBasis_;
60
typename
Traits::LocalCoefficientsType
localCoefficients_;
61
typename
Traits::LocalInterpolationType
localInterpolation_;
62
};
63
64
}
// namespace Dune
65
66
#endif // #ifndef DUNE_RANNACHER_TUREK_LOCALFINITEELEMENT_HH
Generated on Mon Nov 24 2014 20:50:33 for dune-localfunctions by
1.8.1.2