edges03dlocalcoefficients.hh
Go to the documentation of this file.00001
00002 #ifndef DUNE_EDGES03DLOCALCOEFFICIENTS_HH
00003 #define DUNE_EDGES03DLOCALCOEFFICIENTS_HH
00004
00005 #include <cstddef>
00006 #include <iostream>
00007 #include <vector>
00008
00009 #include <dune/localfunctions/common/localkey.hh>
00010
00011 namespace Dune
00012 {
00013
00020 class EdgeS03DLocalCoefficients
00021 {
00022 public:
00024 EdgeS03DLocalCoefficients () : li(6)
00025 {
00026 for (int i=0; i<6; i++)
00027 li[i] = LocalKey(i,2,0);
00028 }
00029
00031 std::size_t size () const
00032 {
00033 return 6;
00034 }
00035
00037 const LocalKey& localKey (std::size_t i) const
00038 {
00039 return li[i];
00040 }
00041
00042 private:
00043 std::vector<LocalKey> li;
00044 };
00045
00046 }
00047
00048 #endif // DUNE_EDGES03DLOCALCOEFFICIENTS_HH