Skip to content
Snippets Groups Projects
Commit e6f0b830 authored by Oliver Sander's avatar Oliver Sander Committed by sander@FU-BERLIN.DE
Browse files

pick correct quad rule for non-simplex elements

[[Imported from SVN: r8109]]
parent a8b1803d
No related branches found
No related tags found
No related merge requests found
......@@ -142,7 +142,7 @@ void testDerivative(const LocalGeodesicFEFunction<domainDim,double,typename PQkL
int quadOrder = 3;
const Dune::QuadratureRule<double, domainDim>& quad
= Dune::QuadratureRules<double, domainDim>::rule(GeometryType(GeometryType::simplex,domainDim), quadOrder);
= Dune::QuadratureRules<double, domainDim>::rule(f.type(), quadOrder);
for (size_t pt=0; pt<quad.size(); pt++) {
......
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