ALUGrid with dim != dimensionworld does not compile
using Grid = Dune::ALUGrid<2, 3, Dune::cube, Dune::nonconforming>;
does not compile with the following error
dune-alugrid/dune/alugrid/common/structuredgridfactory.hh:370:25: error: no matching function for call to ‘Dune::YaspGrid<3, Dune::EquidistantOffsetCoordinates<double, 3> >::YaspGrid(const Dune::FieldVector<double, 3>&, const Dune::FieldVector<double, 3>&, std::array<int, 2>&, std::bitset<2>, int, Dune::StructuredGridFactory<Dune::ALUGrid<2, 3, (Dune::ALUGridElementType)1, (Dune::ALUGridRefinementType)1> >::CollectiveCommunication&)’
CartesianGridType sgrid( lowerLeft, upperRight, dims, std::bitset<dim>(0ULL), 1, commSelf );
Is this related to YASP requiring dim == dimensionworld
?
This probably should be caught using a static_assert
somewhere.
Edited by Kilian Weishaupt