dune-localfunctions
2.2.1
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
dune
localfunctions
lagrange
q22d
q22dlocalcoefficients.hh
Go to the documentation of this file.
1
#ifndef DUNE_Q22DLOCALCOEFFICIENTS_HH
2
#define DUNE_Q22DLOCALCOEFFICIENTS_HH
3
4
#warning This file is deprecated and will be removed after Dune 2.2. \
5
Please use q2localcoefficients.hh instead!
6
7
#include <cstddef>
8
#include <iostream>
9
#include <vector>
10
11
#include <
dune/localfunctions/common/localkey.hh
>
12
13
namespace
Dune
14
{
15
22
class
Q22DLocalCoefficients
23
{
24
public
:
26
Q22DLocalCoefficients
() : li(9)
27
{
28
for
(std::size_t i=0; i<9; i++)
29
li[i] =
LocalKey
(i%4,2-i/4,0);
30
}
31
33
std::size_t
size
()
const
34
{
35
return
9;
36
}
37
39
const
LocalKey
&
localKey
(std::size_t i)
const
40
{
41
return
li[i];
42
}
43
44
private
:
45
std::vector<LocalKey> li;
46
};
47
48
}
49
50
#endif
Generated on Mon May 20 2013 01:06:59 for dune-localfunctions by
1.8.3.1