From 13e054b241dccbba6d42b4321f8293e2388e14fb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Christoph=20Gr=C3=BCninger?= <foss@grueninger.de> Date: Tue, 2 Jan 2018 01:15:12 +0100 Subject: [PATCH] [mpfa] class from GeometryTypes is called hexahedron or cube(3). --- dumux/discretization/cellcentered/mpfa/helper.hh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dumux/discretization/cellcentered/mpfa/helper.hh b/dumux/discretization/cellcentered/mpfa/helper.hh index 3de020e6b8..2f19812565 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)) -- GitLab