Commit 210d5b6a authored by Jakub Both's avatar Jakub Both

[Fix] Wrong number of dofs per element was used for general k.

parent e06abca2
......@@ -165,7 +165,7 @@ public:
using size_type = ST;
// Precompute the number of dofs per entity type depending on the entity's codimension
std::vector<int> dofsPerCodim {dim*k, k+1}; // holds only for 2D!
std::vector<int> dofsPerCodim {k*(k+1)*dim, k+1}; // holds only for 2D!
template<class TP>
using Node = RaviartThomasCubeNode<GV, k, size_type, TP>;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment