dune-localfunctions
2.2.1
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
dune
localfunctions
raviartthomas
raviartthomas1q3d.hh
Go to the documentation of this file.
1
#ifndef DUNE_LOCALFUNCTIONS_RAVIARTTHOMAS1Q3DLOCALFINITEELEMENT_HH
2
#define DUNE_LOCALFUNCTIONS_RAVIARTTHOMAS1Q3DLOCALFINITEELEMENT_HH
3
4
#include <dune/geometry/type.hh>
5
6
#include "../common/localfiniteelementtraits.hh"
7
#include "
raviartthomas1q3d/raviartthomas1q3dlocalbasis.hh
"
8
#include "
raviartthomas1q3d/raviartthomas1q3dlocalcoefficients.hh
"
9
#include "
raviartthomas1q3d/raviartthomas1q3dlocalinterpolation.hh
"
10
11
namespace
Dune
12
{
19
template
<
class
D,
class
R>
20
class
RT1Q3DLocalFiniteElement
21
{
22
23
public
:
24
typedef
LocalFiniteElementTraits<RT1Q3DLocalBasis<D,R>
,
RT1Q3DLocalCoefficients
,
25
RT1Q3DLocalInterpolation<RT1Q3DLocalBasis<D,R>
> >
Traits
;
26
28
RT1Q3DLocalFiniteElement
()
29
{
30
gt.makeHexahedron();
31
}
32
38
RT1Q3DLocalFiniteElement
(
int
s) : basis(s), interpolation(s)
39
{
40
gt.makeHexahedron();
41
}
42
43
const
typename
Traits::LocalBasisType
&
localBasis
()
const
44
{
45
return
basis;
46
}
47
48
const
typename
Traits::LocalCoefficientsType
&
localCoefficients
()
const
49
{
50
return
coefficients;
51
}
52
53
const
typename
Traits::LocalInterpolationType
&
localInterpolation
()
const
54
{
55
return
interpolation;
56
}
57
58
GeometryType
type
()
const
59
{
60
return
gt;
61
}
62
63
private
:
64
RT1Q3DLocalBasis<D,R>
basis;
65
RT1Q3DLocalCoefficients
coefficients;
66
RT1Q3DLocalInterpolation<RT1Q3DLocalBasis<D,R>
> interpolation;
67
GeometryType gt;
68
};
69
}
70
#endif // DUNE_LOCALFUNCTIONS_RAVIARTTHOMAS1Q3DLOCALFINITEELEMENT_HH
Generated on Mon May 20 2013 01:06:59 for dune-localfunctions by
1.8.3.1