[Dune] return value of mark.

Robert Kloefkorn robertk at mathematik.uni-freiburg.de
Fri Dec 15 11:11:30 CET 2006


Hello Dune,

one or two month ago we had a discussion about whether the mark method
on Grid should return a value or not. Somehow we did not get a decision
what to do. From Freiburg point of view this method should return true,
if during calling of mark a marker was set, and return false if not.
For example SGrid and YaspGrid always return false.
When mark is called for a non-leaf entity in ALUGrid then no mark is set
and false is returned.

In the Grid test this is used to check, that the mark-flag that was set
by mark, is returned by getMark. That is only one application of this
return value feature. Of course the grid test should not be a reason for
the design decisions, this only shows how this feature can be used.

Furthermore, this feature is implemented in all Grids execpt UGGrid.
Therefore I want to ask what to do with this task and what the other
groups think about this.

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