From fda16cf5d94e99738c7c261030c3bb7d82e48411 Mon Sep 17 00:00:00 2001 From: DennisGlaeser <dennis.glaeser@iws.uni-stuttgart.de> Date: Tue, 30 Jan 2018 17:59:07 +0100 Subject: [PATCH] [mpfa][fvgridgeom] use outsideindexstorage type for flip index set --- dumux/discretization/cellcentered/mpfa/fvgridgeometry.hh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/dumux/discretization/cellcentered/mpfa/fvgridgeometry.hh b/dumux/discretization/cellcentered/mpfa/fvgridgeometry.hh index 36a380d900..aee1736c88 100644 --- a/dumux/discretization/cellcentered/mpfa/fvgridgeometry.hh +++ b/dumux/discretization/cellcentered/mpfa/fvgridgeometry.hh @@ -71,6 +71,8 @@ class CCMpfaFVGridGeometry<GV, Traits, true> using CoordScalar = typename GV::ctype; using ReferenceElements = typename Dune::ReferenceElements<CoordScalar, dim>; + using ScvfOutsideGridIndexStorage = typename Traits::SubControlVolumeFace::Traits::OutsideGridIndexStorage; + public: //! export the mpfa helper type using MpfaHelper = typename Traits::MpfaHelper; @@ -192,7 +194,6 @@ public: // for network grids there might be multiple intersection with the same geometryInInside // we indentify those by the indexInInside for now (assumes conforming grids at branching facets) - using ScvfOutsideGridIndexStorage = typename SubControlVolumeFace::Traits::OutsideGridIndexStorage; std::vector<ScvfOutsideGridIndexStorage> outsideIndices; if (dim < dimWorld) { @@ -383,7 +384,7 @@ private: GridIndexType numBoundaryScvf_; // needed for embedded surface and network grids (dim < dimWorld) - std::vector<std::vector<GridIndexType>> flipScvfIndices_; + std::vector<ScvfOutsideGridIndexStorage> flipScvfIndices_; // The grid interaction volume index set GridIVIndexSets ivIndexSets_; -- GitLab