From 03469649c0864f3fc1f04d42416340a746b74bf2 Mon Sep 17 00:00:00 2001 From: Timo Koch Date: Tue, 19 Apr 2022 17:52:18 +0000 Subject: [PATCH] [bugfix][boxdfm] Export Element type in FVElementGeometry --- dumux/porousmediumflow/boxdfm/fvelementgeometry.hh | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/dumux/porousmediumflow/boxdfm/fvelementgeometry.hh b/dumux/porousmediumflow/boxdfm/fvelementgeometry.hh index 005d6da446..c3da60dac1 100644 --- a/dumux/porousmediumflow/boxdfm/fvelementgeometry.hh +++ b/dumux/porousmediumflow/boxdfm/fvelementgeometry.hh @@ -61,10 +61,11 @@ class BoxDfmFVElementGeometry static constexpr int dim = GridView::dimension; static constexpr int dimWorld = GridView::dimensionworld; using GridIndexType = typename GridView::IndexSet::IndexType; - using Element = typename GridView::template Codim<0>::Entity; using CoordScalar = typename GridView::ctype; using FeLocalBasis = typename GG::FeCache::FiniteElementType::Traits::LocalBasisType; public: + //! export type of the element + using Element = typename GridView::template Codim<0>::Entity; //! Export type of subcontrol volume using SubControlVolume = typename GG::SubControlVolume; //! Export type of subcontrol volume face @@ -199,7 +200,6 @@ class BoxDfmFVElementGeometry static constexpr int dimWorld = GridView::dimensionworld; using GridIndexType = typename GridView::IndexSet::IndexType; - using Element = typename GridView::template Codim<0>::Entity; using CoordScalar = typename GridView::ctype; using FeLocalBasis = typename GG::FeCache::FiniteElementType::Traits::LocalBasisType; @@ -207,6 +207,8 @@ class BoxDfmFVElementGeometry typename GG::SubControlVolume, typename GG::SubControlVolumeFace>; public: + //! export type of the element + using Element = typename GridView::template Codim<0>::Entity; //! Export type of subcontrol volume using SubControlVolume = typename GG::SubControlVolume; //! Export type of subcontrol volume face -- GitLab