[Dune] [#849] YaspGrid creates entities of unsupported codimension in communicate()
Dune
flyspray at dune-project.org
Mon Dec 6 15:13:52 CET 2010
THIS IS AN AUTOMATED MESSAGE, DO NOT REPLY.
The following task has a new comment added:
FS#849 - YaspGrid creates entities of unsupported codimension in communicate()
User who did this - Steffen Müthing (smuething)
----------
Hi Robert,
as I need to write a generic wrapper for DataHandles, the simple approach outlined by you won't work,
unfortunately. I would need to do something more in line with the EntityProxy that is used in the DataHandle
wrapper of the GeometryGrid. On the other hand, I would like to avoid that overhead, since I don't ever support
more codimensions than the host grid.
So, until someone has time and adds the missing entities to YaspGrid, I think it would be better to not instantiate
those communicateCodim() methods for unsupported codimensions. It just seems a real waste of compile time to
generate those rather long and complicated methods, only to have them invariably throw an exception.
Moreover, I don't like the idea of creating those half-functional entity types for intermediate codims and requiring
users of the grid to be careful not to cause compiler errors in their DataHandle.
----------
More information can be found at the following URL:
http://www.dune-project.org/flyspray/index.php?do=details&task_id=849#comment2297
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