In DuneVectorType add a check for blockLevel requirements or implement recursively
The following discussion from !3385 (merged) should be addressed:
-
@DennisGlaeser started a discussion: (+2 comments) I think it could be good to statically check that the vector has a depth of 2 here, since this seems to be the case? Otherwise one gets a surprising result for vectors of different depth (although unlikely, and it would probably not compile due to "misuse" of the resulting vector type in other places)...
We could either add a static_assert or try to do the same recursion as for multitypevector to recursively use the template to convert block types.