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

[mpfa] Export element type in FV element geometry

parent 1864dab0
No related branches found
No related tags found
2 merge requests!2134WIP Feature/timestepper test,!2132Export element type in FV element geometry
......@@ -59,12 +59,13 @@ class CCMpfaFVElementGeometry<GG, true>
{
using ThisType = CCMpfaFVElementGeometry<GG, true>;
using GridView = typename GG::GridView;
using Element = typename GridView::template Codim<0>::Entity;
using GridIndexType = typename IndexTraits<GridView>::GridIndex;
static constexpr int dim = GridView::dimension;
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
......@@ -175,7 +176,6 @@ class CCMpfaFVElementGeometry<GG, false>
{
using ThisType = CCMpfaFVElementGeometry<GG, false>;
using GridView = typename GG::GridView;
using Element = typename GridView::template Codim<0>::Entity;
using GridIndexType = typename IndexTraits<GridView>::GridIndex;
using MpfaHelper = typename GG::MpfaHelper;
......@@ -185,6 +185,8 @@ class CCMpfaFVElementGeometry<GG, false>
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
......
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