Skip to content
Snippets Groups Projects
Commit ba5bc321 authored by Oliver Sander's avatar Oliver Sander Committed by sander
Browse files

bugfix: quad order for cube elements was too low

[[Imported from SVN: r9302]]
parent 63fbd2f2
No related branches found
No related tags found
No related merge requests found
...@@ -63,7 +63,7 @@ energy(const Entity& element, ...@@ -63,7 +63,7 @@ energy(const Entity& element,
localSolution); localSolution);
int quadOrder = (element.type().isSimplex()) ? (localFiniteElement.localBasis().order()-1) * 2 int quadOrder = (element.type().isSimplex()) ? (localFiniteElement.localBasis().order()-1) * 2
: (localFiniteElement.localBasis().order()-1) * 2 * gridDim; : localFiniteElement.localBasis().order() * 2 * gridDim;
......
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