[Dune] [#604] move reference element related stuff to separate module

Dune flyspray at dune-project.org
Mon Jun 13 13:50:51 CEST 2011


THIS IS AN AUTOMATED MESSAGE, DO NOT REPLY.

The following task has a new comment added:

FS#604 - move reference element related stuff to separate module
User who did this - Martin Nolte (nolte)

----------
I like the basic idea of Andreas suggestion. The problem is: Circular dependencies don't work as far as I know (not even through suggestions). Nevertheless, we may test for HAVE_DUNE_GEOMETRY in dune-common, because it is set in a previously included config.h from some application module. So the suggestion is:
- move dune/common/geometrytype.hh to dune/geometry/type.hh (geometrytype.hh would be redundant, here)
- add a new header dune/common/geometrytype.hh containing the following lines:
  #if HAVE_DUNE_GEOMETRY
  #warning "dune/common/geometrytype.hh is deprecated; include dune/geometry/type.hh instead"
  #include <dune/geometry/type.hh>
  #else
  #error "the GeometryType has moved to the new module dune-geometry (dune/geometry/type.hh)"
  #endif
----------

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

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