dune-localfunctions
2.2.0
|
00001 // -*- tab-width: 4; indent-tabs-mode: nil -*- 00002 #ifndef DUNE_RAVIARTTHOMAS0QLOCALFINITEELEMENT_HH 00003 #define DUNE_RAVIARTTHOMAS0QLOCALFINITEELEMENT_HH 00004 00005 #include "raviartthomas0q2d.hh" 00006 #include "raviartthomas0q3d.hh" 00007 00008 namespace Dune 00009 { 00010 00021 template<class D, class R, int dim> 00022 class RT0QLocalFiniteElement; 00023 00030 template<class D, class R> 00031 class RT0QLocalFiniteElement<D, R, 2> 00032 : public RT0Q2DLocalFiniteElement<D, R> 00033 { 00034 public: 00035 RT0QLocalFiniteElement () : RT0Q2DLocalFiniteElement<D, R>() 00036 { 00037 } 00038 00039 RT0QLocalFiniteElement (int s) : RT0Q2DLocalFiniteElement<D, R>(s) 00040 { 00041 } 00042 }; 00043 00050 template<class D, class R> 00051 class RT0QLocalFiniteElement<D, R, 3> 00052 : public RT0Q3DLocalFiniteElement<D, R> 00053 { 00054 public: 00055 RT0QLocalFiniteElement () : RT0Q3DLocalFiniteElement<D, R>() 00056 { 00057 } 00058 00059 RT0QLocalFiniteElement (int s) : RT0Q3DLocalFiniteElement<D, R>(s) 00060 { 00061 } 00062 }; 00063 00064 } 00065 00066 #endif