diff --git a/grid/sgrid/sgrid.cc b/grid/sgrid/sgrid.cc index 8c3db9e4c32ad95d762ae6b8fff3cc6e5f7b9239..0b3511765d0b87800311466415e3249dd89fd4ff 100644 --- a/grid/sgrid/sgrid.cc +++ b/grid/sgrid/sgrid.cc @@ -16,17 +16,6 @@ namespace Dune { //************************************************************************ // SGeometry - // singleton holding reference elements - template<int dim, class GridImp> - struct SReferenceElement { - static Dune::Geometry<dim,dim,GridImp,SGeometry> refelem; - }; - - // initialize static variable with bool constructor (which makes reference elements) - template<int dim, class GridImp> - Dune::Geometry<dim,dim,GridImp,SGeometry> - SReferenceElement<dim,GridImp>::refelem(SGeometry<dim,dim,GridImp>(true)); - #if 0 // members for SGeometry, general case dim!=0 template<int mydim, int cdim, class GridImp> @@ -94,12 +83,6 @@ namespace Dune { } } - template<int mydim, int cdim, class GridImp> - inline const Dune::Geometry<mydim,mydim,GridImp,Dune::SGeometry>& SGeometry<mydim,cdim,GridImp>::refelem () - { - return SReferenceElement<mydim,GridImp>::refelem; - } - template<int mydim, int cdim, class GridImp> inline int SGeometry<mydim,cdim,GridImp>::corners () const {