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

[facet][box] Export element type in FV element geometry

parent 532a33ab
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 BoxFacetCouplingFVElementGeometry<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 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
......@@ -159,7 +160,6 @@ class BoxFacetCouplingFVElementGeometry<GG, false>
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;
......@@ -169,6 +169,8 @@ class BoxFacetCouplingFVElementGeometry<GG, false>
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
......
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