dune-localfunctions  2.2.1
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 
12 
13 namespace Dune
14 {
15 
23  {
24  public:
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