From: heister Date: Mon, 25 Jan 2010 09:09:13 +0000 (+0000) Subject: work on petsc unit tests, make them pass on my machine too X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=715c9eca462650fe05fe62655c2f683a765a6d69;p=dealii-svn.git work on petsc unit tests, make them pass on my machine too git-svn-id: https://svn.dealii.org/trunk@20439 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/tests/petsc/deal_solver_03.cc b/tests/petsc/deal_solver_03.cc index efa673537b..443a577841 100644 --- a/tests/petsc/deal_solver_03.cc +++ b/tests/petsc/deal_solver_03.cc @@ -62,8 +62,8 @@ check_solve( SOLVER& solver, const MATRIX& A, int main(int argc, char **argv) { std::ofstream logfile("deal_solver_03/output"); - logfile.precision(4); deallog.attach(logfile); + deallog << std::setprecision(4); deallog.depth_console(0); deallog.threshold_double(1.e-10); diff --git a/tests/petsc/deal_solver_03/cmp/generic b/tests/petsc/deal_solver_03/cmp/generic index e6b11dd31c..eacf26cd01 100644 --- a/tests/petsc/deal_solver_03/cmp/generic +++ b/tests/petsc/deal_solver_03/cmp/generic @@ -1,6 +1,6 @@ DEAL::Size 32 Unknowns 961 DEAL::Solver type: N6dealii11SolverGMRESINS_13PETScWrappers6VectorEEE -DEAL:GMRES::Starting value 31.0000 -DEAL:GMRES::Convergence step 75 value 0.000809583 +DEAL:GMRES::Starting value 31.00 +DEAL:GMRES::Convergence step 75 value 0.0008096 DEAL::Solver stopped after 75 iterations