pk.hh

Go to the documentation of this file.
00001 // -*- tab-width: 4; indent-tabs-mode: nil -*-
00002 /* vim: set ai expandtab sw=4 ts=4: */
00003 #ifndef DUNE_PK_LOCALFINITEELEMENT_HH
00004 #define DUNE_PK_LOCALFINITEELEMENT_HH
00005 
00006 #include "p1.hh"
00007 #include "pk2d.hh"
00008 #include "pk3d.hh"
00009 
00010 namespace Dune
00011 {
00012 
00015     template<class D, class R, int d, int k>
00016     class PkLocalFiniteElement
00017     {
00018         public:
00019             PkLocalFiniteElement()
00020             {}
00021 
00028             PkLocalFiniteElement(const unsigned int vertexmap[k+1])
00029             {}
00030     };
00031 
00034     template<class D, class R>
00035     class PkLocalFiniteElement<D, R, 1, 1>
00036         : public P1LocalFiniteElement<D, R, 1>
00037     {
00038         public:
00039             PkLocalFiniteElement()
00040             {}
00041 
00042             PkLocalFiniteElement(const unsigned int vertexmap[2])
00043             {}
00044     };
00045 
00048     template<class D, class R, int k>
00049     class PkLocalFiniteElement<D, R, 2, k>
00050         : public Pk2DLocalFiniteElement<D, R, k>
00051     {
00052         public:
00053             PkLocalFiniteElement()
00054             {}
00055 
00056             PkLocalFiniteElement(const unsigned int vertexmap[3]):
00057                 Pk2DLocalFiniteElement<D, R, k>(vertexmap)
00058             {}
00059     };
00060 
00063     template<class D, class R, int k>
00064     class PkLocalFiniteElement<D, R, 3, k>
00065         : public Pk3DLocalFiniteElement<D, R, k>
00066     {
00067         public:
00068             PkLocalFiniteElement()
00069             {}
00070 
00071             PkLocalFiniteElement(const unsigned int vertexmap[4]):
00072                 Pk3DLocalFiniteElement<D, R, k>(vertexmap)
00073             {}
00074     };
00075 
00076 }
00077 
00078 #endif
Generated on Sat Apr 24 11:15:35 2010 for dune-localfunctions by  doxygen 1.6.3