dune-localfunctions
2.2.1
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
dune
localfunctions
rannacherturek
rannacherturek2d
rannacherturek2dlocalcoefficients.hh
Go to the documentation of this file.
1
#ifndef DUNE_RANNACHER_TUREK2DLOCALCOEFFICIENTS_HH
2
#define DUNE_RANNACHER_TUREK2DLOCALCOEFFICIENTS_HH
3
4
#include <cstddef>
5
#include <vector>
6
7
#include <
dune/localfunctions/common/localkey.hh
>
8
9
namespace
Dune {
10
14
class
RannacherTurek2DLocalCoefficients
15
{
16
public
:
17
RannacherTurek2DLocalCoefficients
() : li(4) {
18
for
(std::size_t i=0; i<4; i++) li[i] =
LocalKey
(i,1,0);
19
}
20
22
std::size_t
size
()
const
{
23
return
4;
24
}
25
27
const
LocalKey
&
localKey
(std::size_t i)
const
{
28
return
li[i];
29
}
30
31
private
:
32
std::vector<LocalKey> li;
33
};
34
35
}
//namespace Dune
36
37
#endif //DUNE_RANNACHER_TUREK2DLOCALCOEFFICIENTS_HH
Generated on Mon May 20 2013 01:06:59 for dune-localfunctions by
1.8.3.1