MultipleCodimMultipleGeomTypeMapper: replace layout class providing `contains()` with function object
MultipleCodimMultipleGeomTypeMapper
has a template template parameter Layout<gridDim>
. This only has to provide a single method bool contains(GeometryType) const
.
It would be nice if it was replace with a (template) function object taking both grid dimension and geometry type as arguments and returning a boolean. This would still provide the same flexibility as the current implementation, but would allow use of using lambda expressions or std::function
instead of having to write a full class.