Skip to content
Snippets Groups Projects
Commit 4711b019 authored by Martin Schneider's avatar Martin Schneider Committed by Timo Koch
Browse files

[disc][geo] Deduce helper type in fvelementgeometry from gg

parent 1e91ad90
No related branches found
No related tags found
1 merge request!3458Feature/flexible geometry helper
......@@ -64,10 +64,7 @@ class BoxFVElementGeometry<GG, true>
using CoordScalar = typename GridView::ctype;
using FeLocalBasis = typename GG::FeCache::FiniteElementType::Traits::LocalBasisType;
using GGCache = typename GG::Cache;
using GeometryHelper = BoxGeometryHelper<GridView, dim,
typename GG::SubControlVolume,
typename GG::SubControlVolumeFace>;
using GeometryHelper = typename GG::GeometryHelper;
public:
//! export the element type
using Element = typename GridView::template Codim<0>::Entity;
......@@ -244,10 +241,7 @@ class BoxFVElementGeometry<GG, false>
using CoordScalar = typename GridView::ctype;
using FeLocalBasis = typename GG::FeCache::FiniteElementType::Traits::LocalBasisType;
using GGCache = typename GG::Cache;
using GeometryHelper = BoxGeometryHelper<GridView, dim,
typename GG::SubControlVolume,
typename GG::SubControlVolumeFace>;
using GeometryHelper = typename GG::GeometryHelper;
public:
//! export the element type
using Element = typename GridView::template Codim<0>::Entity;
......
......@@ -56,7 +56,7 @@ class FaceCenteredDiamondFVElementGeometry<GG, /*cachingEnabled*/true>
using LocalIndexType = typename IndexTraits<GridView>::SmallLocalIndex;
using FeLocalBasis = typename GG::FeCache::FiniteElementType::Traits::LocalBasisType;
using GGCache = typename GG::Cache;
using GeometryHelper = DiamondGeometryHelper<GridView, typename GG::SubControlVolume, typename GG::SubControlVolumeFace>;
using GeometryHelper = typename GG::GeometryHelper;
public:
//! export type of subcontrol volume face
......
......@@ -63,7 +63,7 @@ class PQ1BubbleFVElementGeometry<GG, true>
using CoordScalar = typename GridView::ctype;
using FeLocalBasis = typename GG::FeCache::FiniteElementType::Traits::LocalBasisType;
using GGCache = typename GG::Cache;
using GeometryHelper = PQ1BubbleGeometryHelper<GridView, typename GG::SubControlVolume, typename GG::SubControlVolumeFace>;
using GeometryHelper = typename GG::GeometryHelper;
public:
//! export the element type
using Element = typename GridView::template Codim<0>::Entity;
......
......@@ -191,9 +191,7 @@ class BoxFacetCouplingFVElementGeometry<GG, false>
using CoordScalar = typename GridView::ctype;
using FeLocalBasis = typename GG::FeCache::FiniteElementType::Traits::LocalBasisType;
using GeometryHelper = BoxGeometryHelper<GridView, dim,
typename GG::SubControlVolume,
typename GG::SubControlVolumeFace>;
using GeometryHelper = typename GG::GeometryHelper;
public:
//! export type of the element
using Element = typename GridView::template Codim<0>::Entity;
......
......@@ -202,9 +202,7 @@ class BoxDfmFVElementGeometry<GG, false>
using CoordScalar = typename GridView::ctype;
using FeLocalBasis = typename GG::FeCache::FiniteElementType::Traits::LocalBasisType;
using GeometryHelper = BoxDfmGeometryHelper<GridView, dim,
typename GG::SubControlVolume,
typename GG::SubControlVolumeFace>;
using GeometryHelper = typename GG::GeometryHelper;
public:
//! export type of the element
using Element = typename GridView::template Codim<0>::Entity;
......
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