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