[Dune] [#564] Use dynamic polymorphism

Dune dune at dune-project.org
Thu Jun 18 23:51:22 CEST 2009


THIS IS AN AUTOMATED MESSAGE, DO NOT REPLY.

The following task has a new comment added:

FS#564 - Use dynamic polymorphism
User who did this - Carsten Gräser (Carsten)

----------
If dune-localfunctions is supposed to be THE official shapefunction module it should support mixed elements as dune-grid (especially UG) supports them. This could be added in two ways:

1) Add a FE class that wraps a statically fixed set of FiniteElements for different geometries and decides which should be used (internal) dynamically on every function call.
2) Use dynamic polymorphism with a virtual base class.

In my opinion 2) is a much cleaner solution. And if the type is known at compile time this should be optimized away anyway.
----------

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

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