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

[mpfa-o][iv] make numIVsAtVertex function constexpr

parent 0cd420da
No related branches found
No related tags found
1 merge request!774Cleanup/mpfa
......@@ -295,7 +295,8 @@ public:
//! returns the number of interaction volumes living around a vertex
//! the mpfa-o scheme always constructs one iv per vertex
template< class NodalIndexSet >
static std::size_t numInteractionVolumesAtVertex(const NodalIndexSet& nodalIndexSet) { return 1; }
static constexpr std::size_t numInteractionVolumesAtVertex(const NodalIndexSet& nodalIndexSet)
{ return 1; }
//! adds the iv index sets living around a vertex to a given container
//! and stores the the corresponding index in a map for each scvf
......
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