-
Carsten Gräser authored
This encodes all the information of a GeometryType as template parameters. Some remarks on the implementation: * This may be a solition for using GeometryType's a template paremters and is thus a candidate for dune-geometry * All methods in Dune::GeometryTypes:: have analogouges in Dune::Functions::StaticGeometryTypes:: and additional template aliases for parametrized types. Hence you can e.g. use Simplex<dim>. * There is LocalHybridGeometryTypeIndex which works like LocalGeometryTypeIndex but supports GeometryType and StaticGeometryType. * Some topologyIds are different: If you want to overload for specific StaticGeometryType's, you must be sure that the same geometry type leads to the same type. Hence topologyIds are normalize to have 0 in the first bit. * One may consider using uniqueTopologyId = (topologyId >> 1) as template parameter instead to get rid of the nasty non-uniqueness.
134dafdc