Skip to content
Snippets Groups Projects
Commit ef414aee authored by Dennis Gläser's avatar Dennis Gläser
Browse files

[tpfa][fvelementgeometry] use 2*dim for maximum number of element scvfs

parent af435573
No related branches found
No related tags found
1 merge request!734Feature/improve fvassembler
...@@ -73,7 +73,7 @@ public: ...@@ -73,7 +73,7 @@ public:
//! the maximum number of scvs per element //! the maximum number of scvs per element
static constexpr std::size_t maxNumElementScvs = 1; static constexpr std::size_t maxNumElementScvs = 1;
//! the maximum number of scvfs per element (use cubes for maximum) //! the maximum number of scvfs per element (use cubes for maximum)
static constexpr std::size_t maxNumElementScvfs = GridView::dimension == 3 ? 6 : 4; static constexpr std::size_t maxNumElementScvfs = 2*GridView::dimension;
//! Constructor //! Constructor
CCTpfaFVElementGeometry(const FVGridGeometry& fvGridGeometry) CCTpfaFVElementGeometry(const FVGridGeometry& fvGridGeometry)
...@@ -190,7 +190,7 @@ public: ...@@ -190,7 +190,7 @@ public:
//! the maximum number of scvs per element //! the maximum number of scvs per element
static constexpr std::size_t maxNumElementScvs = 1; static constexpr std::size_t maxNumElementScvs = 1;
//! the maximum number of scvfs per element (use cubes for maximum) //! the maximum number of scvfs per element (use cubes for maximum)
static constexpr std::size_t maxNumElementScvfs = dim == 3 ? 6 : 4; static constexpr std::size_t maxNumElementScvfs = 2*dim;
//! Constructor //! Constructor
CCTpfaFVElementGeometry(const FVGridGeometry& fvGridGeometry) CCTpfaFVElementGeometry(const FVGridGeometry& fvGridGeometry)
......
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