[Dune] IntersectionIterator changes finished.

Robert Kloefkorn robertk at mathematik.uni-freiburg.de
Fri Jul 28 19:25:38 CEST 2006


Hello Dune,

the change of the IntersectionIterator interface is finished.
All old methods are marked as deprecated.
Also the Dune code should compile again, at least the grid checks do.

The old IntersectionIterator is defaulted to LeafIntersectionIterator.
also the methods ibegin and iend will return ileafbegin and ileafend at
least for SGrid, YaspGrid, AlbertaGrid, and ALUGrid.
For this for grids the new IntersectonIterators will work.

For SGrid and YaspGrid almost nothing has changed.
AlbertaGrid now only supports the LeafIntersectionIterator, because the
LevelIntersectionIterator is buggy.
ALUGrid supports both, and the old method ibegin will not work as before.

For UGGrid and OneDGrid only the ibegin method will work, ileafbegin and
ilevelbegin will throw an exception.

The revision number is 2940.

Furthermore in the dune/grid/common/gridpart.hh on can see, how this
IntersectionIterators should be used to be able to write generic code.

If any questions occurs, jsut aks.

Regards,

R

-- 

  Robert Klöfkorn           <robertk at mathematik.uni-freiburg.de>

  Mathematisches Institut              Tel: +49 (0) 761 203 5631
  Abt. für Angewandte Mathematik       Fax: +49 (0) 761 203 5632
  Universität Freiburg
  Hermann-Herder-Str. 10
  79104 Freiburg

  http://www.mathematik.uni-freiburg.de/IAM/homepages/robertk




More information about the Dune mailing list