[Dune] Notification from Dune
Flyspray
dune at hal.iwr.uni-heidelberg.de
Fri Jul 14 14:26:57 CEST 2006
THIS IS AN AUTOMATED MESSAGE, DO NOT REPLY.
The following task has a new comment added:
FS#147 - ALUGrid crashes after use of Entity assignment operator
User who did this: - Robert Klöfkorn (robertk)
----------
// working snippet.
{
GridType* grid = Dune::MacroGrid("simplex.dgf", -1);
// extra environment to destroy all iterators before grid is
// deleted
{
GridType::Codim<0>::LeafIterator eIt = grid->leafend<0>();
eIt = grid->leafbegin<0>();
// before dereference an iterator, check that it's not an end
iterator
if( eIt != grid->leafend<0>() )
GeometryType gt = eIt->geometry().type();
}
delete(grid);
}
----------
More information can be found at the following URL:
http://hal.iwr.uni-heidelberg.de/flyspray/?do=details&id=147#comment120
You are receiving this message because you have requested it from the
Flyspray bugtracking system. You can be removed from future
notifications by visiting the URL shown above.
More information about the Dune
mailing list