[Dune] [#449] arbitrarily reference elements
Dune
dune at dune-project.org
Fri Oct 2 08:18:16 CEST 2009
THIS IS AN AUTOMATED MESSAGE, DO NOT REPLY.
The following task has a new comment added:
FS#449 - arbitrarily reference elements
User who did this - Atgeirr Flø Rasmussen (atgeirr)
----------
This is indeed very close to what we were about to propose. In our proposal, alternative 1, these geometries
(and Entities and Intersections) would not even implement type(). I think that may be cleaner, and require less
effort. The presence or absence of an API (local(), global() etc.) cannot be indicated at run-time, it must be
done at compile-time, so the capabilities system is the right way to expose this.
Our alternative 2 is more similar to Andreas' suggestion in the we keep a reference element, we suggest a
'singular' type which actually expects (simple) implementations of the full API (such as a global() function that
just returns centroids). This is partially how the class CpGrid of dune-cornerpoint is implemented now.
----------
More information can be found at the following URL:
http://www.dune-project.org/flyspray/index.php?do=details&task_id=449#comment1155
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