dune-localfunctions
2.2.1
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
dune
localfunctions
rannacherturek
rannacherturek2d.hh
Go to the documentation of this file.
1
#ifndef DUNE_RANNACHER_TUREK2DLOCALFINITEELEMENT_HH
2
#define DUNE_RANNACHER_TUREK2DLOCALFINITEELEMENT_HH
3
4
#include<dune/geometry/type.hh>
5
6
#include <
dune/localfunctions/common/localfiniteelementtraits.hh
>
7
8
#include "
rannacherturek2d/rannacherturek2dlocalbasis.hh
"
9
#include "
rannacherturek2d/rannacherturek2dlocalcoefficients.hh
"
10
#include "
rannacherturek2d/rannacherturek2dlocalinterpolation.hh
"
11
12
namespace
Dune {
13
14
template
<
class
D,
class
R>
15
class
RannacherTurek2DLocalFiniteElement
16
{
17
RannacherTurek2DLocalBasis<D,R>
basis;
18
RannacherTurek2DLocalCoefficients
coefficients;
19
RannacherTurek2DLocalInterpolation<RannacherTurek2DLocalBasis<D,R>
> interpolation;
20
GeometryType gt;
21
22
public
:
23
typedef
LocalFiniteElementTraits
<
24
RannacherTurek2DLocalBasis<D,R>
,
25
RannacherTurek2DLocalCoefficients
,
26
RannacherTurek2DLocalInterpolation<RannacherTurek2DLocalBasis<D,R>
> >
Traits
;
27
28
RannacherTurek2DLocalFiniteElement
() { gt.makeQuadrilateral(); }
29
30
const
typename
Traits::LocalBasisType
&
localBasis
()
const
31
{
32
return
basis;
33
}
34
35
const
typename
Traits::LocalCoefficientsType
&
localCoefficients
()
const
36
{
37
return
coefficients;
38
}
39
40
const
typename
Traits::LocalInterpolationType
&
localInterpolation
()
const
41
{
42
return
interpolation;
43
}
44
45
GeometryType
type
()
const
{
return
gt; }
46
};
47
48
}
// namespace Dune
49
50
#endif // DUNE_RANNACHER_TUREK2DLOCALFINITEELEMENT_HH
Generated on Mon May 20 2013 01:06:59 for dune-localfunctions by
1.8.3.1