diff --git a/dumux/discretization/cellcentered/mpfa/helper.hh b/dumux/discretization/cellcentered/mpfa/helper.hh index 3de020e6b85e2c7aa8e566f639cbc6fa72435ac1..2f19812565df2c144441e2669d168d3a0dbc6334 100644 --- a/dumux/discretization/cellcentered/mpfa/helper.hh +++ b/dumux/discretization/cellcentered/mpfa/helper.hh @@ -366,12 +366,12 @@ public: assert(gridView.size(Dune::GeometryTypes::tetrahedron) + gridView.size(Dune::GeometryTypes::pyramid) + gridView.size(Dune::GeometryTypes::prism) - + gridView.size(Dune::GeometryTypes::cube) == gridView.size(0)); + + gridView.size(Dune::GeometryTypes::hexahedron) == gridView.size(0)); return gridView.size(Dune::GeometryTypes::tetrahedron)*12 + gridView.size(Dune::GeometryTypes::pyramid)*16 + gridView.size(Dune::GeometryTypes::prism)*18 - + gridView.size(Dune::GeometryTypes::cube)*24; + + gridView.size(Dune::GeometryTypes::hexahedron)*24; #else assert(gridView.size(Dune::GeometryType(Dune::GeometryType::simplex, 3)) + gridView.size(Dune::GeometryType(Dune::GeometryType::pyramid, 3))