#56 Grid test assumes uniqueness of element index
Metadata
Property | Value |
---|---|
Reported by | Oliver Sander (oliver.sander@tu-dresden.de) |
Reported at | Nov 28, 2005 15:39 |
Type | Bug Report |
Version | Git (pre2.4) [autotools] |
Operating System | Unspecified / All |
Closed by | Robert K (robertk@posteo.org) |
Closed at | Dec 8, 2005 15:26 |
Closed in version | Unknown |
Resolution | Implemented |
Comment | This bug is critical, because it renders the UGGrid test virtually useless. Sorry, but: |
Because the UGGrid has not implemented Entities of higher codims, this test does test almost nothing for the UGGrid.
There are other real critical things.
lol and rolf. |
Description
The test for the grid indexsets assumes that element indices are unique per level. However, they are only unique per level and GeometryType. This makes the test fail whenever a grid contains more than one element type. Currently that's only UGGrid.
More specifically, in checkindexset.cc:89, the variable globalSubEntity is initialized with the index of the current element (if codim==0). In line 154 it is then used to index a map. If the same index appears twice in the same grid level the test will fail here, as the UGGrid test currently does.
This bug is critical, because it renders the UGGrid test virtually useless.