#529 Mappers should be instatiated for grid views, not for grids
Metadata
Property | Value |
---|---|
Reported by | Sven Marnach (sven@pantoffel-wg.de) |
Reported at | Mar 25, 2009 17:59 |
Type | Bug Report |
Version | Git (pre2.4) [autotools] |
Operating System | Unspecified / All |
Last edited by | Christian Engwer (christi@conan.iwr.uni-heidelberg.de) |
Last edited at | Dec 16, 2009 17:45 |
Closed by | Christian Engwer (christi@conan.iwr.uni-heidelberg.de) |
Closed at | Dec 16, 2009 17:45 |
Closed in version | 2.1 |
Resolution | Fixed |
Comment |
Description
To get an MultipleCodimMultipleGeomTypeMapper for the leaf grid, you have to write something like
Dune::LeafMultipleCodimMultipleGeomTypeMapper<Grid,Layout> mapper(grid);
If you are only given a GridView, you would rather like to do
Dune::MultipleCodimMultipleGeomTypeMapper<GridView,Layout> mapper(gridview);
because you don't know wether it is a leaf or level view.