Skip to content
Snippets Groups Projects
Commit fda16cf5 authored by Dennis Gläser's avatar Dennis Gläser
Browse files

[mpfa][fvgridgeom] use outsideindexstorage type for flip index set

parent 8e7eb37c
No related branches found
No related tags found
1 merge request!774Cleanup/mpfa
...@@ -71,6 +71,8 @@ class CCMpfaFVGridGeometry<GV, Traits, true> ...@@ -71,6 +71,8 @@ class CCMpfaFVGridGeometry<GV, Traits, true>
using CoordScalar = typename GV::ctype; using CoordScalar = typename GV::ctype;
using ReferenceElements = typename Dune::ReferenceElements<CoordScalar, dim>; using ReferenceElements = typename Dune::ReferenceElements<CoordScalar, dim>;
using ScvfOutsideGridIndexStorage = typename Traits::SubControlVolumeFace::Traits::OutsideGridIndexStorage;
public: public:
//! export the mpfa helper type //! export the mpfa helper type
using MpfaHelper = typename Traits::MpfaHelper; using MpfaHelper = typename Traits::MpfaHelper;
...@@ -192,7 +194,6 @@ public: ...@@ -192,7 +194,6 @@ public:
// for network grids there might be multiple intersection with the same geometryInInside // 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) // we indentify those by the indexInInside for now (assumes conforming grids at branching facets)
using ScvfOutsideGridIndexStorage = typename SubControlVolumeFace::Traits::OutsideGridIndexStorage;
std::vector<ScvfOutsideGridIndexStorage> outsideIndices; std::vector<ScvfOutsideGridIndexStorage> outsideIndices;
if (dim < dimWorld) if (dim < dimWorld)
{ {
...@@ -383,7 +384,7 @@ private: ...@@ -383,7 +384,7 @@ private:
GridIndexType numBoundaryScvf_; GridIndexType numBoundaryScvf_;
// needed for embedded surface and network grids (dim < dimWorld) // 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 // The grid interaction volume index set
GridIVIndexSets ivIndexSets_; GridIVIndexSets ivIndexSets_;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment