Skip to content
Snippets Groups Projects
Commit 91b0455d authored by Christian Engwer's avatar Christian Engwer
Browse files

removed the refelem singleton

[[Imported from SVN: r2445]]
parent 1b346249
Branches
Tags
No related merge requests found
......@@ -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
{
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment