dune-localfunctions
2.2.1
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
dune
localfunctions
brezzidouglasmarini
brezzidouglasmarini12d
brezzidouglasmarini12dlocalcoefficients.hh
Go to the documentation of this file.
1
#ifndef DUNE_LOCALFUNCTIONS_BREZZIDOUGLASMARINI1TRIANGLELOCALCOEFFICIENTS_HH
2
#define DUNE_LOCALFUNCTIONS_BREZZIDOUGLASMARINI1TRIANGLELOCALCOEFFICIENTS_HH
3
4
#include <cstddef>
5
#include <vector>
6
7
#include "../../common/localkey.hh"
8
9
namespace
Dune
10
{
11
19
class
BDM12DLocalCoefficients
20
{
21
22
public
:
24
BDM12DLocalCoefficients
() : li(6)
25
{
26
for
(std::size_t i=0; i<3; i++)
27
{
28
li[i] =
LocalKey
(i,1,0);
29
li[3 + i] =
LocalKey
(i,1,1);
30
}
31
}
32
34
std::size_t
size
()
const
35
{
36
return
6;
37
}
38
40
const
LocalKey
&
localKey
(std::size_t i)
const
41
{
42
return
li[i];
43
}
44
45
private
:
46
std::vector<LocalKey> li;
47
};
48
}
49
#endif // DUNE_LOCALFUNCTIONS_BREZZIDOUGLASMARINI1TRIANGLELOCALCOEFFICIENTS_HH
Generated on Mon May 20 2013 01:06:58 for dune-localfunctions by
1.8.3.1