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

Use 6th-order quad rules to measure the error, to be on the safe side

[[Imported from SVN: r10062]]
parent f0a22992
No related branches found
No related tags found
No related merge requests found
...@@ -252,7 +252,7 @@ int main (int argc, char *argv[]) try ...@@ -252,7 +252,7 @@ int main (int argc, char *argv[]) try
GFE::EmbeddedGlobalGFEFunction<FEBasis, TargetSpace> numericalSolution(feBasis, x); GFE::EmbeddedGlobalGFEFunction<FEBasis, TargetSpace> numericalSolution(feBasis, x);
// QuadratureRule for the integral of the L^2 error // QuadratureRule for the integral of the L^2 error
QuadratureRuleKey quadKey(dim,3); QuadratureRuleKey quadKey(dim,6);
// Compute the embedded L^2 error // Compute the embedded L^2 error
double l2Error = DiscretizationError<GridType::LeafGridView>::computeL2Error(&numericalSolution, double l2Error = DiscretizationError<GridType::LeafGridView>::computeL2Error(&numericalSolution,
......
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