Skip to content
Snippets Groups Projects
Commit 6525060b authored by Thimo Neubauer's avatar Thimo Neubauer
Browse files

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]]
parent a5aceeed
No related branches found
No related tags found
No related merge requests found
......@@ -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;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment