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

[pnm] Export element type in FVElemenetGeometry implementation

parent 3c8fd3c8
No related branches found
No related tags found
1 merge request!2694[pnm] Export element type in FVElemenetGeometry implementation
Pipeline #5688 waiting for manual action
...@@ -50,7 +50,6 @@ class PNMFVElementGeometry<GG, true> ...@@ -50,7 +50,6 @@ class PNMFVElementGeometry<GG, true>
static constexpr int dimWorld = GridView::dimensionworld; static constexpr int dimWorld = GridView::dimensionworld;
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;
using CoordScalar = typename GridView::ctype; using CoordScalar = typename GridView::ctype;
using FeLocalBasis = typename GG::FeCache::FiniteElementType::Traits::LocalBasisType; using FeLocalBasis = typename GG::FeCache::FiniteElementType::Traits::LocalBasisType;
public: public:
...@@ -60,6 +59,8 @@ public: ...@@ -60,6 +59,8 @@ public:
using SubControlVolumeFace = typename GG::SubControlVolumeFace; using SubControlVolumeFace = typename GG::SubControlVolumeFace;
//! export type of finite volume grid geometry //! export type of finite volume grid geometry
using GridGeometry = GG; using GridGeometry = GG;
//! export element type
using Element = typename GridView::template Codim<0>::Entity;
//! the maximum number of scvs per element //! the maximum number of scvs per element
static constexpr std::size_t maxNumElementScvs = 2; static constexpr std::size_t maxNumElementScvs = 2;
...@@ -170,7 +171,6 @@ class PNMFVElementGeometry<GG, false> ...@@ -170,7 +171,6 @@ class PNMFVElementGeometry<GG, false>
static constexpr int dimWorld = GridView::dimensionworld; static constexpr int dimWorld = GridView::dimensionworld;
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;
using CoordScalar = typename GridView::ctype; using CoordScalar = typename GridView::ctype;
using FeLocalBasis = typename GG::FeCache::FiniteElementType::Traits::LocalBasisType; using FeLocalBasis = typename GG::FeCache::FiniteElementType::Traits::LocalBasisType;
...@@ -181,6 +181,8 @@ public: ...@@ -181,6 +181,8 @@ public:
using SubControlVolumeFace = typename GG::SubControlVolumeFace; using SubControlVolumeFace = typename GG::SubControlVolumeFace;
//! export type of finite volume grid geometry //! export type of finite volume grid geometry
using GridGeometry = GG; using GridGeometry = GG;
//! export element type
using Element = typename GridView::template Codim<0>::Entity;
//! the maximum number of scvs per element //! the maximum number of scvs per element
static constexpr std::size_t maxNumElementScvs = 2; static constexpr std::size_t maxNumElementScvs = 2;
......
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