#1577 Generic GridTraits forces IndexType=unsigned int
Metadata
Property | Value |
---|---|
Reported by | Aleksejs Fomins (aleksejs.fomins@lspr.ch) |
Reported at | Mar 3, 2015 10:59 |
Type | Bug Report |
Version | 2.3 |
Operating System | Unspecified / All |
Description
What:
Grid implementor is unable to freely choose IndexType
Where:
dune/grid/common/grid.hh line 361:
Forwards-declaration of IndexSet
forces IndexType=unsigned int
When:
Problem occurs when using generic GridTraits
. Avoided in several grids by implementing own GridTraits
class.
Proposed Solution:
Add IndexType
as a template parameter to generic GridTraits
. Pass IndexType
in every grid that uses generic GridTraits
.