[Dune] Notification from Dune

Flyspray dune at hal.iwr.uni-heidelberg.de
Tue Apr 10 10:24:21 CEST 2007


THIS IS AN AUTOMATED MESSAGE, DO NOT REPLY.

The following task has been changed.  The new details are below.  For
full information about what has changed, visit the URL and click the
History tab.

FS#246 - geometryType() method for entities
User who did this: - Oliver Sander (sander)

Attached to Project - Dune
Summary - geometryType() method for entities
Task Type - Feature Request
Category - Grid
Status - New
Assigned To - 
Operating System - All
Severity - Medium
Priority - Normal
Reported Version - SVN
Due in Version - 
Due Date - Undecided
Percent Complete - 50%
Details - I suggest to introduce a method geometryType() in entity for
the following reasons:

1)Currently one has to use entity.geometry().type() to get the
GeometryType
  of an entity. This seems to be a very costly way e.g. in ALUGRID. I
guess
  ALUGRID constructs Geometry objects when geometry() is called and
therefore
  everytime the GeometryType of an entity is needed.
2)This problem occurs everytime you want to write portable code for
different
  grids which could have different element types. E.g. the mcmgmapper
works this way.
3)The GeometryType is primary a property of the entity and not only of
the geometry.
  This is obvious since you need (GeometryType,level, levelindex) or
(GeometryType, leafindex)
  to fully qualify an entity.
4)The method is easy to implement, since grids with only one type now
it apriory and
  grids with multiple types could just forward geometry().type() if
there is no better way.


More information can be found at the following URL:
http://hal.iwr.uni-heidelberg.de/flyspray/?do=details&id=246

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