Revise use of mappers
!2218 (merged) allows to use
SingleCodimSingleGeomTypeMapper instead of our default
MultipleCodimMultipleGeomTypeMapper, which can be a bit faster.
Using SingleCodimSingleGeomTypeMapper as ElementMapper works fine.
However, the code does not compile when
gridGeometry.vertexMapper() is passed in the context of
I think in these cases, one is actually forced to use the MCMGMapper because the algorithm iterates over the entities of all codims during runtime.
We should check all of these occurrences. Maybe we should always provide a MultipleCodimMultipleGeomTypeMapper object for vertices in our BaseGridGeometry which can be used for these special cases.