Unify type of non-type template parameters of FiniteElementMaps
The non-type template parameters of the FiniteElementMaps (i.e. dimension and order) differ in their type. QkLocalFiniteElementMap
uses std::size_t
, PkLocalFiniteElementMap
uses unsigned int
, QkDGLocalFiniteElementMap
uses int
, .... . When specializing class templates for certain FEM, it is really annoying to keep track of the different types and it is not immediately obvious why the specialization fails if one uses the wrong type. I propose to unify the types to a single type (e.g. unsigned int
).
(This might also be related to the general type of (co-)dimensions in Dune, see for example Flyspray 1660)