From 6525060b8cd7431b8a3054a99efdf9f6f2801485 Mon Sep 17 00:00:00 2001
From: Thimo Neubauer <thimo@dune-project.org>
Date: Fri, 22 Oct 2004 13:04:28 +0000
Subject: [PATCH] SEntityBase constructor initialized geometry per default but
 set the builtgeomery-flag to false... Don't initialize geo on construction
 anymore. Should not break anything but speeded up the construction of the
 IntersectionIterator notably

[[Imported from SVN: r970]]
---
 grid/sgrid/sgrid.cc | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/grid/sgrid/sgrid.cc b/grid/sgrid/sgrid.cc
index 2e83997f7..53b3983a8 100644
--- a/grid/sgrid/sgrid.cc
+++ b/grid/sgrid/sgrid.cc
@@ -231,7 +231,7 @@ namespace Dune {
   }
 
   template<int codim, int dim, int dimworld>
-  inline SEntityBase<codim,dim,dimworld>::SEntityBase (SGrid<dim,dimworld>& _grid, int _l, int _id) : geo(true)
+  inline SEntityBase<codim,dim,dimworld>::SEntityBase (SGrid<dim,dimworld>& _grid, int _l, int _id) : geo(false)
   {
     grid = &_grid;
     l = _l;
@@ -241,7 +241,7 @@ namespace Dune {
   }
 
   template<int codim, int dim, int dimworld>
-  inline SEntityBase<codim,dim,dimworld>::SEntityBase () : geo(true)
+  inline SEntityBase<codim,dim,dimworld>::SEntityBase () : geo(false)
   {
     builtgeometry = false;
   }
-- 
GitLab