]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Limit number of digits that are written to file.
authorMartin Kronbichler <kronbichler@lnm.mw.tum.de>
Mon, 8 Jun 2009 04:00:37 +0000 (04:00 +0000)
committerMartin Kronbichler <kronbichler@lnm.mw.tum.de>
Mon, 8 Jun 2009 04:00:37 +0000 (04:00 +0000)
git-svn-id: https://svn.dealii.org/trunk@18916 0785d39b-7218-0410-832d-ea1e28bc413d

tests/aniso/solution_transfer.cc

index a39718976ba2f1195fd187363a60da6c334a4c05..044ae397608bdcfda774596dffb253f567ae0df3 100644 (file)
@@ -121,6 +121,8 @@ void transfer(std::ostream &out)
 int main()
 {
   std::ofstream logfile("solution_transfer/output");
+  deallog << std::setprecision (4);
+  logfile << std::setprecision (4);
   deallog.attach(logfile);
   deallog.depth_console(0);
   deallog.threshold_double(1.e-10);

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.