#204 Behavior of method geomTypes on index sets.
Metadata
Property | Value |
---|---|
Reported by | Robert K (robertk@posteo.org) |
Reported at | Nov 21, 2006 17:22 |
Type | Bug Report |
Version | Git (pre2.4) [autotools] |
Operating System | Unspecified / All |
Closed by | Robert K (robertk@posteo.org) |
Closed at | Dec 4, 2006 10:18 |
Closed in version | 1.0 |
Resolution | Won't implement |
Comment | Discussion seems not to get anywhere. |
Feature will be implemented in Dune-fem module. |
Description
How can one get information from the grid about all geometry types that could possibly occur in the grid?
The method geomTypes on the IndexSet returns only all geomTypes that are right now contained in the grid, for example when using UGGrid with a cube-only macro grid, one get the a vector geomTypes with lenght 1 and GeometryType (cube,2) in a 2d cube grid.
After refinement there exist two different geometry types, cube and simplex. For initialization issues (BaseFunctions and so on) it is necessary to have a method (on the index set or grid) which just tells which geometry could occur during computation (in a 2d cube grid that would be cube and simplex).
I suggest the following change:
a) add a method allGeomType on IndexSet that returns this information
b) add this method on Grid instead of IndexSet
c) change semantic of method geomTypes to return all geometry types provided by grid, information about presence of geometry still accessable via size method.
I would prefer a) or b). But also c) is ok with me.
What do Stuttgart and Berlin think?