Skip to content
Snippets Groups Projects
Commit 1864dab0 authored by Timo Koch's avatar Timo Koch
Browse files

[box] Export element type in FV element geometry

parent fc42f5de
No related branches found
No related tags found
2 merge requests!2134WIP Feature/timestepper test,!2132Export element type in FV element geometry
......@@ -56,11 +56,12 @@ class BoxFVElementGeometry<GG, true>
static constexpr int dimWorld = GridView::dimensionworld;
using GridIndexType = typename IndexTraits<GridView>::GridIndex;
using LocalIndexType = typename IndexTraits<GridView>::LocalIndex;
using Element = typename GridView::template Codim<0>::Entity;
using CoordScalar = typename GridView::ctype;
using FeLocalBasis = typename GG::FeCache::FiniteElementType::Traits::LocalBasisType;
using ReferenceElements = typename Dune::ReferenceElements<CoordScalar, dim>;
public:
//! export the element type
using Element = typename GridView::template Codim<0>::Entity;
//! export type of subcontrol volume
using SubControlVolume = typename GG::SubControlVolume;
//! export type of subcontrol volume face
......@@ -171,7 +172,6 @@ class BoxFVElementGeometry<GG, false>
static constexpr int dimWorld = GridView::dimensionworld;
using GridIndexType = typename IndexTraits<GridView>::GridIndex;
using LocalIndexType = typename IndexTraits<GridView>::LocalIndex;
using Element = typename GridView::template Codim<0>::Entity;
using CoordScalar = typename GridView::ctype;
using FeLocalBasis = typename GG::FeCache::FiniteElementType::Traits::LocalBasisType;
using ReferenceElements = typename Dune::ReferenceElements<CoordScalar, dim>;
......@@ -180,6 +180,8 @@ class BoxFVElementGeometry<GG, false>
typename GG::SubControlVolume,
typename GG::SubControlVolumeFace>;
public:
//! export the element type
using Element = typename GridView::template Codim<0>::Entity;
//! export type of subcontrol volume
using SubControlVolume = typename GG::SubControlVolume;
//! export type of subcontrol volume face
......
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