p0localcoefficients.hh
Go to the documentation of this file.00001
00002
00003 #ifndef DUNE_P0LOCALCOEFFICIENTS_HH
00004 #define DUNE_P0LOCALCOEFFICIENTS_HH
00005
00006 #include <cstddef>
00007 #include <iostream>
00008 #include <vector>
00009
00010 #include <dune/localfunctions/common/localkey.hh>
00011
00012 namespace Dune
00013 {
00014
00021 class P0LocalCoefficients
00022 {
00023 public:
00025 P0LocalCoefficients () : index(0,0,0)
00026 {}
00027
00029 std::size_t size () const
00030 {
00031 return 1;
00032 }
00033
00035 const LocalKey& localKey (std::size_t i) const
00036 {
00037 return index;
00038 }
00039
00040 private:
00041 LocalKey index;
00042 };
00043
00044 }
00045 #endif