dune-localfunctions
2.2.0
|
00001 // -*- tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 2 -*- 00002 // vi: set ts=8 sw=2 et sts=2: 00003 00004 #ifndef DUNE_LOCALFUNCTIONS_WHITNEY_EDGES0_5_COMMON_HH 00005 #define DUNE_LOCALFUNCTIONS_WHITNEY_EDGES0_5_COMMON_HH 00006 00007 #include <cstddef> 00008 00009 #include <dune/geometry/referenceelements.hh> 00010 00011 namespace Dune { 00012 00014 template<std::size_t dim, class DF = double> 00015 struct EdgeS0_5Common { 00017 static const GenericReferenceElement<DF, dim>& refelem; 00019 00023 static const std::size_t s; 00024 }; 00025 00026 template<std::size_t dim, class DF> 00027 const GenericReferenceElement<DF, dim>& EdgeS0_5Common<dim,DF>:: 00028 refelem(GenericReferenceElements<DF, dim>::simplex()); 00029 00030 template<std::size_t dim, typename DF> 00031 const std::size_t EdgeS0_5Common<dim,DF>::s(refelem.size(dim-1)); 00032 00033 } // namespace Dune 00034 00035 #endif // DUNE_LOCALFUNCTIONS_WHITNEY_EDGES0_5_COMMON_HH