#969 template lists of Grid interface classes are to restrictive.
|Reported by||Robert K (firstname.lastname@example.org)|
|Reported at||Oct 31, 2011 08:47|
|Version||Git (pre2.4) [autotools]|
|Operating System||Unspecified / All|
The template lists of the interface classes in dune-grid require implementations to have a specific template list. This is often a drawback when implementing new grids.
Martin and I would like to discuss new template lists for the interface classes, such as Entity, Geometry etc. that only consists of codim, dimension, and one Traits class containing all the necessary information.
Current template list is
template<int cd, int dim, class GridImp, template<int,int,class> class EntityImp> class Entity
We suggest that the template list should be:
template <int cd, int dim, class Traits> class Entity;
This gives much more freedom for implementing new grids and maybe other things.