From: Daniel Arndt Date: Fri, 17 Apr 2020 01:30:59 +0000 (-0400) Subject: Fix tests X-Git-Tag: v9.2.0-rc1~213^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6b699b59c3ca856ab5b3462cb9732dbd406a4b9a;p=dealii.git Fix tests --- diff --git a/tests/lac/bicgstab_large.cc b/tests/lac/bicgstab_large.cc index a05ce80f4f..cb3614f4ca 100644 --- a/tests/lac/bicgstab_large.cc +++ b/tests/lac/bicgstab_large.cc @@ -52,7 +52,7 @@ main() bicgstab.solve(M, solution, rhs, PreconditionIdentity()); } - solution.print(deallog); + solution.print(deallog.get_file_stream()); Vector res(4); M.residual(res, solution, rhs); @@ -70,7 +70,7 @@ main() SolverBicgstab<> bicgstab(control); bicgstab.solve(M1, solution, rhs, PreconditionIdentity()); } - solution.print(deallog); + solution.print(deallog.get_file_stream()); M1.residual(res, solution, rhs); deallog << "residual=" << res.l2_norm() << std::endl; } diff --git a/tests/lac/bicgstab_large.debug.output b/tests/lac/bicgstab_large.debug.output index abf5725509..6c14184874 100644 --- a/tests/lac/bicgstab_large.debug.output +++ b/tests/lac/bicgstab_large.debug.output @@ -1,9 +1,9 @@ DEAL:Bicgstab::Starting value 2.000 DEAL:Bicgstab::Convergence step 4 value 0 -DEAL::1.000 0.1000 0.09091 0.02381 +1.000 0.1000 0.09091 0.02381 DEAL::residual=0 DEAL:Bicgstab::Starting value 2.000e+10 DEAL:Bicgstab::Convergence step 4 value 0.001939 -DEAL::1.000 0.1000 0.09091 0.02381 +1.000 0.1000 0.09091 0.02381 DEAL::residual=0.001937 diff --git a/tests/sundials/kinsol_01.cc b/tests/sundials/kinsol_01.cc index d3d947ba78..44d1958987 100644 --- a/tests/sundials/kinsol_01.cc +++ b/tests/sundials/kinsol_01.cc @@ -77,6 +77,6 @@ main(int argc, char **argv) VectorType v(N); v = 1.0; auto niter = kinsol.solve(v); - deallog << v << std::endl; + v.print(deallog.get_file_stream()); deallog << "Converged in " << niter << " iterations." << std::endl; } diff --git a/tests/sundials/kinsol_01.output b/tests/sundials/kinsol_01.output index 5fd595fa77..2a13a0ef6e 100644 --- a/tests/sundials/kinsol_01.output +++ b/tests/sundials/kinsol_01.output @@ -1,4 +1,3 @@ -DEAL::1.00000 2.00000 3.00000 4.00000 5.00000 6.00000 7.00000 8.00000 9.00000 10.0000 -DEAL:: +1.00000 2.00000 3.00000 4.00000 5.00000 6.00000 7.00000 8.00000 9.00000 10.0000 DEAL::Converged in 23 iterations.