]> https://gitweb.dealii.org/ - dealii.git/commitdiff
work on petsc unit tests, make them pass on my machine too
authorTimo Heister <timo.heister@gmail.com>
Mon, 25 Jan 2010 09:09:13 +0000 (09:09 +0000)
committerTimo Heister <timo.heister@gmail.com>
Mon, 25 Jan 2010 09:09:13 +0000 (09:09 +0000)
git-svn-id: https://svn.dealii.org/trunk@20439 0785d39b-7218-0410-832d-ea1e28bc413d

tests/petsc/deal_solver_03.cc
tests/petsc/deal_solver_03/cmp/generic

index efa673537b25e4c340eb3c129ad00c3b12fd6c92..443a577841588ec5aeb81dd4f97c98ab6f5f2ce9 100644 (file)
@@ -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);
 
index e6b11dd31cbfa09e724dd97b8977ebac5f98694b..eacf26cd0143cc96cd15c5c8027a1b549c21dfa7 100644 (file)
@@ -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

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.