lagrange.hh
Go to the documentation of this file.00001 #ifndef DUNE_LAGRANGEFINITEELEMENT_HH
00002 #define DUNE_LAGRANGEFINITEELEMENT_HH
00003
00004 #include <dune/localfunctions/utility/localfiniteelement.hh>
00005 #include <dune/localfunctions/utility/dglocalcoefficients.hh>
00006
00007 #include <dune/localfunctions/lagrange/lagrangecoefficients.hh>
00008 #include <dune/localfunctions/lagrange/interpolation.hh>
00009 #include <dune/localfunctions/lagrange/lagrangebasis.hh>
00010
00011 namespace Dune
00012 {
00040 template< template <class,unsigned int> class LP,
00041 unsigned int dimDomain, class D, class R,
00042 class SF=R, class CF=SF >
00043 class LagrangeLocalFiniteElement
00044 : public GenericLocalFiniteElement< LagrangeBasisFactory< LP, dimDomain, SF, CF >,
00045 LagrangeCoefficientsFactory<LP, dimDomain, SF >,
00046 LagrangeInterpolationFactory< LP, dimDomain, SF > >
00047 {
00048 typedef GenericLocalFiniteElement< LagrangeBasisFactory< LP, dimDomain, SF, CF >,
00049 LagrangeCoefficientsFactory<LP, dimDomain, SF >,
00050 LagrangeInterpolationFactory< LP, dimDomain, SF > > Base;
00051 public:
00052 typedef typename Base::Traits Traits;
00053
00056 LagrangeLocalFiniteElement ( unsigned int topologyId, unsigned int order )
00057 : Base( topologyId, order )
00058 {}
00059 };
00060 }
00061
00062 #endif // #ifndef DUNE_LAGRANGEFINITEELEMENT_HH