[Dune] [#771] configure generated gridtype.hh / dgfgridtype.hh

Dune flyspray at dune-project.org
Mon Apr 12 13:25:34 CEST 2010


THIS IS AN AUTOMATED MESSAGE, DO NOT REPLY.

The following task has been changed.  The changes are listed below.  For full information about what has changed, visit the URL and click the History tab.

FS#771 - configure generated gridtype.hh / dgfgridtype.hh
User who did this: Martin Nolte (nolte)
Task details edited:
-------
>From the mailing-list it seems there is the need for some discussion of patch 6391 (and some followups):

"Allow header files for grid selection to be generated by configure script

The preprocessor magic for selecting the grid currently cannot be extended to
support grids from modules other that dune-grid. Moreover, the code is mostly
'cut & paste', which is a problem for maintenance.

This patch overcomes both difficulties. The files 'gridtype.hh' and
'dgfgridtype.hh' are generated for each module by configure. They contain
the switches for all the grids found. To add an additional grid, just add
a call to DUNE_DEFINE_GRIDTYPE in the main m4-file of the module that
contains it (see e.g. dune-grid/m4/dune_grid.m4 or dune-grid/m4/alberta.m4)
All the preprocessor stuff is then generated from this line."

So, I think a FlySpray task will be the right place to discuss this patch. It might also be instructive to know everybody's attitude towards the "preprocessor magic".
-------

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

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