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

[tpfa] Export element type in FV element geometry

parent f65dde0a
No related branches found
No related tags found
2 merge requests!2134WIP Feature/timestepper test,!2132Export element type in FV element geometry
...@@ -61,9 +61,10 @@ class CCTpfaFVElementGeometry<GG, true> ...@@ -61,9 +61,10 @@ class CCTpfaFVElementGeometry<GG, true>
using ThisType = CCTpfaFVElementGeometry<GG, true>; using ThisType = CCTpfaFVElementGeometry<GG, true>;
using GridView = typename GG::GridView; using GridView = typename GG::GridView;
using GridIndexType = typename IndexTraits<GridView>::GridIndex; using GridIndexType = typename IndexTraits<GridView>::GridIndex;
using Element = typename GridView::template Codim<0>::Entity;
public: public:
//! export type of the element
using Element = typename GridView::template Codim<0>::Entity;
//! export type of subcontrol volume //! export type of subcontrol volume
using SubControlVolume = typename GG::SubControlVolume; using SubControlVolume = typename GG::SubControlVolume;
//! export type of subcontrol volume face //! export type of subcontrol volume face
...@@ -181,12 +182,13 @@ class CCTpfaFVElementGeometry<GG, false> ...@@ -181,12 +182,13 @@ class CCTpfaFVElementGeometry<GG, false>
using GridView = typename GG::GridView; using GridView = typename GG::GridView;
using GridIndexType = typename IndexTraits<GridView>::GridIndex; using GridIndexType = typename IndexTraits<GridView>::GridIndex;
using LocalIndexType = typename IndexTraits<GridView>::LocalIndex; using LocalIndexType = typename IndexTraits<GridView>::LocalIndex;
using Element = typename GridView::template Codim<0>::Entity;
static const int dim = GridView::dimension; static const int dim = GridView::dimension;
static const int dimWorld = GridView::dimensionworld; static const int dimWorld = GridView::dimensionworld;
public: public:
//! export type of the element
using Element = typename GridView::template Codim<0>::Entity;
//! export type of subcontrol volume //! export type of subcontrol volume
using SubControlVolume = typename GG::SubControlVolume; using SubControlVolume = typename GG::SubControlVolume;
//! export type of subcontrol volume face //! 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