dune-localfunctions  2.2.1
prismp1localcoefficients.hh
Go to the documentation of this file.
1 // -*- tab-width: 4; indent-tabs-mode: nil -*-
2 #ifndef DUNE_PRISMP1LOCALCOEFFICIENTS_HH
3 #define DUNE_PRISMP1LOCALCOEFFICIENTS_HH
4 
5 #include <cstddef>
6 #include <iostream>
7 #include <vector>
8 
10 
11 namespace Dune
12 {
13 
21  {
22  public:
25  {
26  for (std::size_t i=0; i<6; i++)
27  li[i] = LocalKey(i,3,0);
28  }
29 
31  std::size_t size () const
32  {
33  return 6;
34  }
35 
37  const LocalKey& localKey (std::size_t i) const
38  {
39  return li[i];
40  }
41 
42  private:
43  std::vector<LocalKey> li;
44  };
45 
46 }
47 
48 #endif