From: Timo Heister Date: Mon, 31 Aug 2015 20:12:03 +0000 (-0400) Subject: add H1_seminorm to test X-Git-Tag: v8.4.0-rc2~504^2~2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=02a32d5af81b3103240f0d31c27da0ac474fe8ff;p=dealii.git add H1_seminorm to test --- diff --git a/tests/vector_tools/integrate_difference_01.cc b/tests/vector_tools/integrate_difference_01.cc index a94367eb3f..02a634c4d7 100644 --- a/tests/vector_tools/integrate_difference_01.cc +++ b/tests/vector_tools/integrate_difference_01.cc @@ -96,7 +96,10 @@ void test() deallog << "L2_norm:" << std::endl; // sqrt(\int_\Omega f^2) = sqrt(\int (x+y)^2+(x^2+y^2)^2) test(VectorTools::L2_norm, std::sqrt(161.0/90.0)); - + deallog << "H1_seminorm:" << std::endl; + // sqrt( sum | d/dxi f |_0^2 ) = sqrt( sum \int ) + test(VectorTools::H1_seminorm, std::sqrt(14.0/3.0)); + deallog << "OK" << std::endl; }