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