Skip to content
Snippets Groups Projects
Commit 326a5eaa authored by oliver.sander_at_tu-dresden.de's avatar oliver.sander_at_tu-dresden.de
Browse files

Enable run-time transfer matrix assembly tests for RT elements

The depended on a recent fix in dune-localfunctions to work properly.
parent 6d90eabe
No related branches found
No related tags found
1 merge request!74Enable run-time transfer matrix assembly tests for RT elements
Pipeline #28270 passed
...@@ -177,9 +177,7 @@ bool testRaviartThomas(const GW0& gw0, const GW1& gw1) ...@@ -177,9 +177,7 @@ bool testRaviartThomas(const GW0& gw0, const GW1& gw1)
FieldVector<double,2> testPoint(0); FieldVector<double,2> testPoint(0);
auto testPointInFather = element.geometryInFather().global(testPoint); auto testPointInFather = element.geometryInFather().global(testPoint);
// TODO: The run-time test is disabled for the time being, because it requires if ( (coarseLocalFunction(testPointInFather) - fineLocalFunction(testPoint) ).two_norm() > 1e-10 )
// https://gitlab.dune-project.org/staging/dune-functions/-/merge_requests/241
if ( false && (coarseLocalFunction(testPointInFather) - fineLocalFunction(testPoint) ).two_norm() > 1e-10 )
{ {
std::cerr << "Raviart-Thomas: transfer matrix is not the natural injection!" << std::endl; std::cerr << "Raviart-Thomas: transfer matrix is not the natural injection!" << std::endl;
return false; return false;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment