[Dune] Notification from Dune

Flyspray dune at hal.iwr.uni-heidelberg.de
Thu Jan 25 19:20:08 CET 2007


THIS IS AN AUTOMATED MESSAGE, DO NOT REPLY.

The following task has a new comment added:

FS#246 - geometryType() method for entities
User who did this: - Robert Klöfkorn (robertk)

----------
When designing the grid interface, we decided to seperate enitiy and
geometry, which means, that entities do not know about geometry
aspects. On the other hand of course this method should be useable
with low costs. This should be discussed. 

For the moment I suggest to use a specialized mapper, that does not
need the geometry information for non-hybrid grids, which would make
sense anyway. The problem with the geometry method is, that when
calling the geometry method, the coordinates have to be copied,
because ALUGrid uses double[3] to store vertex coordinate. This has to
be copied to FieldVector. 
Not cheap. Of course this is done only once, which means for one
entity several calls of the geometry method are ok. 
I think the problem arises, when one uses exessive EntityPointer
copying, because then always the geometry has to be updated again.
Copying the geometry when copying the EntityPointer makes no sense,
because this would make the EntityPointer copying to expensive. I
think, if this copying of the coordinates could be neglected, the
geometry, method would be very fast. 
But don't like to cast double [3] to FieldVector<double,3> although
it's working, but who knows. 
So I guess a specialized mapper will do for the moment. 
----------

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

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