dune-localfunctions
2.1.1
|
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 00013 template<class D, class R, int d> 00014 class RT0QLocalFiniteElement; 00015 00018 template<class D, class R> 00019 class RT0QLocalFiniteElement<D, R, 2> 00020 : public RT0Q2DLocalFiniteElement<D, R> 00021 { 00022 public: 00023 RT0QLocalFiniteElement () : RT0Q2DLocalFiniteElement<D, R>() 00024 { 00025 } 00026 00027 RT0QLocalFiniteElement (int s) : RT0Q2DLocalFiniteElement<D, R>(s) 00028 { 00029 } 00030 }; 00031 00034 template<class D, class R> 00035 class RT0QLocalFiniteElement<D, R, 3> 00036 : public RT0Q3DLocalFiniteElement<D, R> 00037 { 00038 public: 00039 RT0QLocalFiniteElement () : RT0Q3DLocalFiniteElement<D, R>() 00040 { 00041 } 00042 00043 RT0QLocalFiniteElement (int s) : RT0Q3DLocalFiniteElement<D, R>(s) 00044 { 00045 } 00046 }; 00047 00048 } 00049 00050 #endif