From 02a32d5af81b3103240f0d31c27da0ac474fe8ff Mon Sep 17 00:00:00 2001 From: Timo Heister Date: Mon, 31 Aug 2015 16:12:03 -0400 Subject: [PATCH] add H1_seminorm to test --- tests/vector_tools/integrate_difference_01.cc | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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; } -- 2.39.5