HostGrid can provide geomTypes in container not std::vector
Compare changes
+ 8
− 5
@@ -315,9 +315,10 @@ namespace Dune
@@ -347,8 +348,10 @@ namespace Dune
IndexSet is allowed to provide its GeometryTypes list as something else than std::vector<GeometryType>
. Therefore the IndexSet::Types
alias is available. Most grids just return a std::vector
, but, e.g., AlbertaGrid
returns a std::array
instead. Almost all grids could returns something cheaper than std::vector
since there is only a single GeometryType. This MR, fixes the handling of this flexibility in the ParallelGrid
wrapper by copying the GeometryType
s into the new storage.