MCMGMapper: use `std::function<bool(GeometryType, int)>` instead of custom layout classes
This merge requests changes MCMGMapper
to use a std::function
object instead of template classes with a contains()
method. It
makes it easier to use the mapper with custom layouts: one just has to
write a lambda function to indicate which geometry types should be
included in the mapper.
After the next DUNE release, the now deprecated second template
parameter of MCMGMapper
can be removed, cleaning up the interface a
bit more.
Closes: #42 (closed)