[Dune] [#875] Loss of 5% performance in GeometryGrid

Dune flyspray at dune-project.org
Sat Feb 12 15:53:19 CET 2011


THIS IS AN AUTOMATED MESSAGE, DO NOT REPLY.

A new Flyspray task has been opened.  Details are below. 

User who did this - Martin Nolte (nolte) 

Attached to Project - Dune
Summary - Loss of 5% performance in GeometryGrid
Task Type - Bug Report
Category - Dune Core Modules
Status - New
Assigned To - 
Operating System - Unspecified / All
Severity - Low
Priority - Normal
Reported Version - SVN (pre2.1)
Due in Version - Undecided
Due Date - Undecided
Details - The allocator changes in the GenericGeometry require copying the entire geometry instead of just a pointer. This leads to a performance decrease of up to 5% in an explicit Finite Volume scheme on GeometryGrid. The reason is that the GeometryGrid intersection internally stores a copy of the element geometry.

Hopefully, this performance loss can be regained after changing returned geometries to objects. I seriously doubt this, though.

There is another way to circumvent this copy: Only store a poiner to the entity (not an EntityPointer!). I don't know whether this conforms to the interface, though, since the intersection iterator becomes invalid once the Entity instance on which ibegin / iend was called goes out of scope.

More information can be found at the following URL:
http://www.dune-project.org/flyspray/index.php?do=details&task_id=875

You are receiving this message because you have requested it from the Flyspray bugtracking system.  If you did not expect this message or don't want to receive mails in future, you can change your notification settings at the URL shown above.




More information about the Dune mailing list