Skip to content

#969 template lists of Grid interface classes are to restrictive.

Metadata

Property Value
Reported by Robert K (robertk@posteo.org)
Reported at Oct 31, 2011 08:47
Type Discussion
Version Git (pre2.4) [autotools]
Operating System Unspecified / All

Description

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.

Example:

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.