From cd2a3d3979d5ffe6d6b325a6a5a90515eae9b393 Mon Sep 17 00:00:00 2001 From: Wolfgang Bangerth Date: Thu, 12 Apr 2001 15:13:33 +0000 Subject: [PATCH] Add 3d to tests. git-svn-id: https://svn.dealii.org/trunk@4455 0785d39b-7218-0410-832d-ea1e28bc413d --- tests/deal.II/derivative_approximation.cc | 7 ++-- .../deal.II/derivative_approximation.checked | 32 +++++++++++++++++++ 2 files changed, 35 insertions(+), 4 deletions(-) diff --git a/tests/deal.II/derivative_approximation.cc b/tests/deal.II/derivative_approximation.cc index 8ed90c9421..dff8d4dd82 100644 --- a/tests/deal.II/derivative_approximation.cc +++ b/tests/deal.II/derivative_approximation.cc @@ -73,7 +73,6 @@ check () deallog << second(i)*100 << std::endl; } - int main () { ofstream logfile ("derivative_approximation.output"); @@ -88,7 +87,7 @@ int main () deallog.push ("2d"); check<2> (); deallog.pop (); -// deallog.push ("3d"); -// check<3> (); -// deallog.pop (); + deallog.push ("3d"); + check<3> (); + deallog.pop (); } diff --git a/tests/deal.II/derivative_approximation.checked b/tests/deal.II/derivative_approximation.checked index 7588d0ae53..4577f8b3e5 100644 --- a/tests/deal.II/derivative_approximation.checked +++ b/tests/deal.II/derivative_approximation.checked @@ -73,3 +73,35 @@ DEAL:2d::233.72 DEAL:2d::168.05 DEAL:2d::185.42 DEAL:2d::215.27 +DEAL:3d::Approximated gradient: +DEAL:3d::25.27 +DEAL:3d::0.00 +DEAL:3d::25.27 +DEAL:3d::25.27 +DEAL:3d::0.00 +DEAL:3d::0.00 +DEAL:3d::0.00 +DEAL:3d::27.45 +DEAL:3d::52.80 +DEAL:3d::78.71 +DEAL:3d::52.80 +DEAL:3d::52.80 +DEAL:3d::78.71 +DEAL:3d::121.43 +DEAL:3d::78.71 +DEAL:3d::Approximated second derivative: +DEAL:3d::135.86 +DEAL:3d::110.65 +DEAL:3d::135.86 +DEAL:3d::136.01 +DEAL:3d::110.65 +DEAL:3d::110.65 +DEAL:3d::110.65 +DEAL:3d::95.30 +DEAL:3d::205.19 +DEAL:3d::247.57 +DEAL:3d::205.19 +DEAL:3d::209.67 +DEAL:3d::251.69 +DEAL:3d::149.17 +DEAL:3d::243.26 -- 2.39.5