]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Fix roundoff problems.
authorbangerth <bangerth@0785d39b-7218-0410-832d-ea1e28bc413d>
Tue, 21 Apr 2009 02:24:52 +0000 (02:24 +0000)
committerbangerth <bangerth@0785d39b-7218-0410-832d-ea1e28bc413d>
Tue, 21 Apr 2009 02:24:52 +0000 (02:24 +0000)
git-svn-id: https://svn.dealii.org/trunk@18660 0785d39b-7218-0410-832d-ea1e28bc413d

tests/aniso/fe_tools.cc
tests/aniso/fe_tools/cmp/generic

index 9f3dc17b7b23be104a7d0d7eaec89d7923d0dcb8..9f61850e0c36360c9df8877e142e2d24026fd43a 100644 (file)
@@ -163,6 +163,7 @@ int main()
   std::ofstream logfile("fe_tools/output");
   deallog.attach(logfile);
   deallog.depth_console(0);
+  deallog << std::setprecision(5);
   deallog.threshold_double(1.e-8);
 
   test_projection<2>(logfile);
index e66f1860e6c45a107032146fd957e68d43268995..6293804970672e6af02fd732d77437ad062da7f4 100644 (file)
@@ -1447,25 +1447,25 @@ DEAL::~      ~      ~      ~      1.000  ~      ~      ~      ~      ~      ~
 DEAL::~      ~      ~      -0.1250 0.7500 0.3750 ~      ~      ~      ~      ~      ~      ~      ~      ~      ~      ~      ~      ~      ~      ~      ~      ~      ~      ~      ~      ~      
 DEAL::~      ~      ~      ~      ~      1.000  ~      ~      ~      ~      ~      ~      ~      ~      ~      ~      ~      ~      ~      ~      ~      ~      ~      ~      ~      ~      ~      
 DEAL::~      -0.1250 ~      ~      0.7500 ~      ~      0.3750 ~      ~      ~      ~      ~      ~      ~      ~      ~      ~      ~      ~      ~      ~      ~      ~      ~      ~      ~      
-DEAL::0.01562 -0.09375 -0.04687 -0.09375 0.5625 0.2812 -0.04688 0.2812 0.1406 ~      ~      ~      ~      ~      ~      ~      ~      ~      ~      ~      ~      ~      ~      ~      ~      ~      ~      
+DEAL::0.01562 -0.09375 -0.04687 -0.09375 0.5625 0.2812 -0.04687 0.2812 0.1406 ~      ~      ~      ~      ~      ~      ~      ~      ~      ~      ~      ~      ~      ~      ~      ~      ~      ~      
 DEAL::~      ~      -0.1250 ~      ~      0.7500 ~      ~      0.3750 ~      ~      ~      ~      ~      ~      ~      ~      ~      ~      ~      ~      ~      ~      ~      ~      ~      ~      
 DEAL::~      ~      ~      ~      ~      ~      ~      1.000  ~      ~      ~      ~      ~      ~      ~      ~      ~      ~      ~      ~      ~      ~      ~      ~      ~      ~      ~      
 DEAL::~      ~      ~      ~      ~      ~      -0.1250 0.7500 0.3750 ~      ~      ~      ~      ~      ~      ~      ~      ~      ~      ~      ~      ~      ~      ~      ~      ~      ~      
 DEAL::~      ~      ~      ~      ~      ~      ~      ~      1.000  ~      ~      ~      ~      ~      ~      ~      ~      ~      ~      ~      ~      ~      ~      ~      ~      ~      ~      
 DEAL::~      ~      ~      ~      0.3750 ~      ~      ~      ~      ~      ~      ~      ~      0.7500 ~      ~      ~      ~      ~      ~      ~      ~      -0.1250 ~      ~      ~      ~      
-DEAL::~      ~      ~      -0.04687 0.2812 0.1406 ~      ~      ~      ~      ~      ~      -0.09375 0.5625 0.2812 ~      ~      ~      ~      ~      ~      0.01563 -0.09375 -0.04687 ~      ~      ~      
+DEAL::~      ~      ~      -0.04687 0.2812 0.1406 ~      ~      ~      ~      ~      ~      -0.09375 0.5625 0.2812 ~      ~      ~      ~      ~      ~      0.01562 -0.09375 -0.04687 ~      ~      ~      
 DEAL::~      ~      ~      ~      ~      0.3750 ~      ~      ~      ~      ~      ~      ~      ~      0.7500 ~      ~      ~      ~      ~      ~      ~      ~      -0.1250 ~      ~      ~      
-DEAL::~      -0.04687 ~      ~      0.2812 ~      ~      0.1406 ~      ~      -0.09375 ~      ~      0.5625 ~      ~      0.2813 ~      ~      0.01562 ~      ~      -0.09375 ~      ~      -0.04688 ~      
+DEAL::~      -0.04688 ~      ~      0.2813 ~      ~      0.1406 ~      ~      -0.09375 ~      ~      0.5625 ~      ~      0.2813 ~      ~      0.01562 ~      ~      -0.09375 ~      ~      -0.04688 ~      
 DEAL::0.005859 -0.03516 -0.01758 -0.03516 0.2109 0.1055 -0.01758 0.1055 0.05273 0.01172 -0.07031 -0.03516 -0.07031 0.4219 0.2109 -0.03516 0.2109 0.1055 0.001953 0.01172 0.005859 0.01172 -0.07031 -0.03516 0.005859 -0.03516 -0.01758 
-DEAL::~      ~      -0.04687 ~      ~      0.2812 ~      ~      0.1406 ~      ~      -0.09375 ~      ~      0.5625 ~      ~      0.2813 ~      ~      0.01562 ~      ~      -0.09375 ~      ~      -0.04688 
+DEAL::~      ~      -0.04687 ~      ~      0.2812 ~      ~      0.1406 ~      ~      -0.09375 ~      ~      0.5625 ~      ~      0.2813 ~      ~      0.01562 ~      ~      -0.09375 ~      ~      -0.04687 
 DEAL::~      ~      ~      ~      ~      ~      ~      0.3750 ~      ~      ~      ~      ~      ~      ~      ~      0.7500 ~      ~      ~      ~      ~      ~      ~      ~      -0.1250 ~      
-DEAL::~      ~      ~      ~      ~      ~      -0.04687 0.2812 0.1406 ~      ~      ~      ~      ~      ~      -0.09375 0.5625 0.2813 ~      ~      ~      ~      ~      ~      0.01562 -0.09375 -0.04687 
+DEAL::~      ~      ~      ~      ~      ~      -0.04687 0.2812 0.1406 ~      ~      ~      ~      ~      ~      -0.09375 0.5625 0.2813 ~      ~      ~      ~      ~      ~      0.01563 -0.09375 -0.04687 
 DEAL::~      ~      ~      ~      ~      ~      ~      ~      0.3750 ~      ~      ~      ~      ~      ~      ~      ~      0.7500 ~      ~      ~      ~      ~      ~      ~      ~      -0.1250 
 DEAL::~      ~      ~      ~      ~      ~      ~      ~      ~      ~      ~      ~      ~      1.000  ~      ~      ~      ~      ~      ~      ~      ~      ~      ~      ~      ~      ~      
 DEAL::~      ~      ~      ~      ~      ~      ~      ~      ~      ~      ~      ~      -0.1250 0.7500 0.3750 ~      ~      ~      ~      ~      ~      ~      ~      ~      ~      ~      ~      
 DEAL::~      ~      ~      ~      ~      ~      ~      ~      ~      ~      ~      ~      ~      ~      1.000  ~      ~      ~      ~      ~      ~      ~      ~      ~      ~      ~      ~      
 DEAL::~      ~      ~      ~      ~      ~      ~      ~      ~      ~      -0.1250 ~      ~      0.7500 ~      ~      0.3750 ~      ~      ~      ~      ~      ~      ~      ~      ~      ~      
-DEAL::~      ~      ~      ~      ~      ~      ~      ~      ~      0.01562 -0.09375 -0.04688 -0.09375 0.5625 0.2812 -0.04687 0.2812 0.1406 ~      ~      ~      ~      ~      ~      ~      ~      ~      
+DEAL::~      ~      ~      ~      ~      ~      ~      ~      ~      0.01562 -0.09375 -0.04688 -0.09375 0.5625 0.2812 -0.04687 0.2813 0.1406 ~      ~      ~      ~      ~      ~      ~      ~      ~      
 DEAL::~      ~      ~      ~      ~      ~      ~      ~      ~      ~      ~      -0.1250 ~      ~      0.7500 ~      ~      0.3750 ~      ~      ~      ~      ~      ~      ~      ~      ~      
 DEAL::~      ~      ~      ~      ~      ~      ~      ~      ~      ~      ~      ~      ~      ~      ~      ~      1.000  ~      ~      ~      ~      ~      ~      ~      ~      ~      ~      
 DEAL::~      ~      ~      ~      ~      ~      ~      ~      ~      ~      ~      ~      ~      ~      ~      -0.1250 0.7500 0.3750 ~      ~      ~      ~      ~      ~      ~      ~      ~      
@@ -1503,7 +1503,7 @@ DEAL::~      ~      ~      ~      ~      ~      ~      ~      ~      ~      1.00
 DEAL::~      ~      ~      ~      ~      ~      ~      ~      ~      -0.1250 0.7500 0.3750 ~      ~      ~      ~      ~      ~      ~      ~      ~      ~      ~      ~      ~      ~      ~      
 DEAL::~      ~      ~      ~      ~      ~      ~      ~      ~      ~      ~      1.000  ~      ~      ~      ~      ~      ~      ~      ~      ~      ~      ~      ~      ~      ~      ~      
 DEAL::~      ~      ~      ~      ~      ~      ~      ~      ~      ~      0.3750 ~      ~      0.7500 ~      ~      -0.1250 ~      ~      ~      ~      ~      ~      ~      ~      ~      ~      
-DEAL::~      ~      ~      ~      ~      ~      ~      ~      ~      -0.04687 0.2812 0.1406 -0.09375 0.5625 0.2812 0.01562 -0.09375 -0.04687 ~      ~      ~      ~      ~      ~      ~      ~      ~      
+DEAL::~      ~      ~      ~      ~      ~      ~      ~      ~      -0.04687 0.2812 0.1406 -0.09375 0.5625 0.2813 0.01562 -0.09375 -0.04687 ~      ~      ~      ~      ~      ~      ~      ~      ~      
 DEAL::~      ~      ~      ~      ~      ~      ~      ~      ~      ~      ~      0.3750 ~      ~      0.7500 ~      ~      -0.1250 ~      ~      ~      ~      ~      ~      ~      ~      ~      
 DEAL::~      ~      ~      ~      ~      ~      ~      ~      ~      ~      ~      ~      ~      1.000  ~      ~      ~      ~      ~      ~      ~      ~      ~      ~      ~      ~      ~      
 DEAL::~      ~      ~      ~      ~      ~      ~      ~      ~      ~      ~      ~      -0.1250 0.7500 0.3750 ~      ~      ~      ~      ~      ~      ~      ~      ~      ~      ~      ~      
@@ -1511,17 +1511,17 @@ DEAL::~      ~      ~      ~      ~      ~      ~      ~      ~      ~      ~
 DEAL::~      -0.1250 ~      ~      ~      ~      ~      ~      ~      ~      0.7500 ~      ~      ~      ~      ~      ~      ~      ~      0.3750 ~      ~      ~      ~      ~      ~      ~      
 DEAL::0.01562 -0.09375 -0.04687 ~      ~      ~      ~      ~      ~      -0.09375 0.5625 0.2812 ~      ~      ~      ~      ~      ~      -0.04687 0.2812 0.1406 ~      ~      ~      ~      ~      ~      
 DEAL::~      ~      -0.1250 ~      ~      ~      ~      ~      ~      ~      ~      0.7500 ~      ~      ~      ~      ~      ~      ~      ~      0.3750 ~      ~      ~      ~      ~      ~      
-DEAL::~      -0.04688 ~      ~      -0.09375 ~      ~      0.01562 ~      ~      0.2812 ~      ~      0.5625 ~      ~      -0.09375 ~      ~      0.1406 ~      ~      0.2812 ~      ~      -0.04688 ~      
+DEAL::~      -0.04688 ~      ~      -0.09375 ~      ~      0.01562 ~      ~      0.2813 ~      ~      0.5625 ~      ~      -0.09375 ~      ~      0.1406 ~      ~      0.2812 ~      ~      -0.04688 ~      
 DEAL::0.005859 -0.03516 -0.01758 0.01172 -0.07031 -0.03516 0.001953 0.01172 0.005859 -0.03516 0.2109 0.1055 -0.07031 0.4219 0.2109 0.01172 -0.07031 -0.03516 -0.01758 0.1055 0.05273 -0.03516 0.2109 0.1055 0.005859 -0.03516 -0.01758 
-DEAL::~      ~      -0.04687 ~      ~      -0.09375 ~      ~      0.01562 ~      ~      0.2812 ~      ~      0.5625 ~      ~      -0.09375 ~      ~      0.1406 ~      ~      0.2813 ~      ~      -0.04688 
+DEAL::~      ~      -0.04687 ~      ~      -0.09375 ~      ~      0.01562 ~      ~      0.2813 ~      ~      0.5625 ~      ~      -0.09375 ~      ~      0.1406 ~      ~      0.2813 ~      ~      -0.04688 
 DEAL::~      ~      ~      ~      -0.1250 ~      ~      ~      ~      ~      ~      ~      ~      0.7500 ~      ~      ~      ~      ~      ~      ~      ~      0.3750 ~      ~      ~      ~      
-DEAL::~      ~      ~      0.01562 -0.09375 -0.04687 ~      ~      ~      ~      ~      ~      -0.09375 0.5625 0.2812 ~      ~      ~      ~      ~      ~      -0.04687 0.2812 0.1406 ~      ~      ~      
+DEAL::~      ~      ~      0.01563 -0.09375 -0.04687 ~      ~      ~      ~      ~      ~      -0.09375 0.5625 0.2812 ~      ~      ~      ~      ~      ~      -0.04687 0.2812 0.1406 ~      ~      ~      
 DEAL::~      ~      ~      ~      ~      -0.1250 ~      ~      ~      ~      ~      ~      ~      ~      0.7500 ~      ~      ~      ~      ~      ~      ~      ~      0.3750 ~      ~      ~      
 DEAL::~      ~      ~      ~      ~      ~      ~      ~      ~      ~      ~      ~      ~      ~      ~      ~      ~      ~      ~      1.000  ~      ~      ~      ~      ~      ~      ~      
 DEAL::~      ~      ~      ~      ~      ~      ~      ~      ~      ~      ~      ~      ~      ~      ~      ~      ~      ~      -0.1250 0.7500 0.3750 ~      ~      ~      ~      ~      ~      
 DEAL::~      ~      ~      ~      ~      ~      ~      ~      ~      ~      ~      ~      ~      ~      ~      ~      ~      ~      ~      ~      1.000  ~      ~      ~      ~      ~      ~      
 DEAL::~      ~      ~      ~      ~      ~      ~      ~      ~      ~      ~      ~      ~      ~      ~      ~      ~      ~      ~      0.3750 ~      ~      0.7500 ~      ~      -0.1250 ~      
-DEAL::~      ~      ~      ~      ~      ~      ~      ~      ~      ~      ~      ~      ~      ~      ~      ~      ~      ~      -0.04688 0.2812 0.1406 -0.09375 0.5625 0.2813 0.01563 -0.09375 -0.04688 
+DEAL::~      ~      ~      ~      ~      ~      ~      ~      ~      ~      ~      ~      ~      ~      ~      ~      ~      ~      -0.04688 0.2812 0.1406 -0.09375 0.5625 0.2813 0.01562 -0.09375 -0.04687 
 DEAL::~      ~      ~      ~      ~      ~      ~      ~      ~      ~      ~      ~      ~      ~      ~      ~      ~      ~      ~      ~      0.3750 ~      ~      0.7500 ~      ~      -0.1250 
 DEAL::~      ~      ~      ~      ~      ~      ~      ~      ~      ~      ~      ~      ~      ~      ~      ~      ~      ~      ~      ~      ~      ~      1.000  ~      ~      ~      ~      
 DEAL::~      ~      ~      ~      ~      ~      ~      ~      ~      ~      ~      ~      ~      ~      ~      ~      ~      ~      ~      ~      ~      -0.1250 0.7500 0.3750 ~      ~      ~      
@@ -1559,25 +1559,25 @@ DEAL::~      ~      ~      ~      ~      ~      ~      ~      ~      ~      ~
 DEAL::~      ~      ~      ~      ~      ~      ~      ~      ~      ~      ~      ~      -0.1250 0.7500 0.3750 ~      ~      ~      ~      ~      ~      ~      ~      ~      ~      ~      ~      
 DEAL::~      ~      ~      ~      ~      ~      ~      ~      ~      ~      ~      ~      ~      ~      1.000  ~      ~      ~      ~      ~      ~      ~      ~      ~      ~      ~      ~      
 DEAL::~      ~      ~      ~      ~      ~      ~      ~      ~      ~      -0.1250 ~      ~      0.7500 ~      ~      0.3750 ~      ~      ~      ~      ~      ~      ~      ~      ~      ~      
-DEAL::~      ~      ~      ~      ~      ~      ~      ~      ~      0.01562 -0.09375 -0.04687 -0.09375 0.5625 0.2813 -0.04687 0.2813 0.1406 ~      ~      ~      ~      ~      ~      ~      ~      ~      
+DEAL::~      ~      ~      ~      ~      ~      ~      ~      ~      0.01562 -0.09375 -0.04687 -0.09375 0.5625 0.2812 -0.04688 0.2813 0.1406 ~      ~      ~      ~      ~      ~      ~      ~      ~      
 DEAL::~      ~      ~      ~      ~      ~      ~      ~      ~      ~      ~      -0.1250 ~      ~      0.7500 ~      ~      0.3750 ~      ~      ~      ~      ~      ~      ~      ~      ~      
 DEAL::~      ~      ~      ~      ~      ~      ~      ~      ~      ~      ~      ~      ~      ~      ~      ~      1.000  ~      ~      ~      ~      ~      ~      ~      ~      ~      ~      
 DEAL::~      ~      ~      ~      ~      ~      ~      ~      ~      ~      ~      ~      ~      ~      ~      -0.1250 0.7500 0.3750 ~      ~      ~      ~      ~      ~      ~      ~      ~      
 DEAL::~      ~      ~      ~      ~      ~      ~      ~      ~      ~      ~      ~      ~      ~      ~      ~      ~      1.000  ~      ~      ~      ~      ~      ~      ~      ~      ~      
 DEAL::~      ~      ~      ~      -0.1250 ~      ~      ~      ~      ~      ~      ~      ~      0.7500 ~      ~      ~      ~      ~      ~      ~      ~      0.3750 ~      ~      ~      ~      
-DEAL::~      ~      ~      0.01562 -0.09375 -0.04687 ~      ~      ~      ~      ~      ~      -0.09375 0.5625 0.2812 ~      ~      ~      ~      ~      ~      -0.04687 0.2812 0.1406 ~      ~      ~      
+DEAL::~      ~      ~      0.01562 -0.09375 -0.04687 ~      ~      ~      ~      ~      ~      -0.09375 0.5625 0.2812 ~      ~      ~      ~      ~      ~      -0.04688 0.2812 0.1406 ~      ~      ~      
 DEAL::~      ~      ~      ~      ~      -0.1250 ~      ~      ~      ~      ~      ~      ~      ~      0.7500 ~      ~      ~      ~      ~      ~      ~      ~      0.3750 ~      ~      ~      
-DEAL::~      0.01562 ~      ~      -0.09375 ~      ~      -0.04687 ~      ~      -0.09375 ~      ~      0.5625 ~      ~      0.2812 ~      ~      -0.04688 ~      ~      0.2812 ~      ~      0.1406 ~      
+DEAL::~      0.01562 ~      ~      -0.09375 ~      ~      -0.04688 ~      ~      -0.09375 ~      ~      0.5625 ~      ~      0.2812 ~      ~      -0.04688 ~      ~      0.2813 ~      ~      0.1406 ~      
 DEAL::0.001953 0.01172 0.005859 0.01172 -0.07031 -0.03516 0.005859 -0.03516 -0.01758 0.01172 -0.07031 -0.03516 -0.07031 0.4219 0.2109 -0.03516 0.2109 0.1055 0.005859 -0.03516 -0.01758 -0.03516 0.2109 0.1055 -0.01758 0.1055 0.05273 
-DEAL::~      ~      0.01562 ~      ~      -0.09375 ~      ~      -0.04688 ~      ~      -0.09375 ~      ~      0.5625 ~      ~      0.2813 ~      ~      -0.04688 ~      ~      0.2812 ~      ~      0.1406 
+DEAL::~      ~      0.01563 ~      ~      -0.09375 ~      ~      -0.04688 ~      ~      -0.09375 ~      ~      0.5625 ~      ~      0.2813 ~      ~      -0.04688 ~      ~      0.2813 ~      ~      0.1406 
 DEAL::~      ~      ~      ~      ~      ~      ~      -0.1250 ~      ~      ~      ~      ~      ~      ~      ~      0.7500 ~      ~      ~      ~      ~      ~      ~      ~      0.3750 ~      
-DEAL::~      ~      ~      ~      ~      ~      0.01562 -0.09375 -0.04687 ~      ~      ~      ~      ~      ~      -0.09375 0.5625 0.2812 ~      ~      ~      ~      ~      ~      -0.04687 0.2812 0.1406 
+DEAL::~      ~      ~      ~      ~      ~      0.01563 -0.09375 -0.04688 ~      ~      ~      ~      ~      ~      -0.09375 0.5625 0.2812 ~      ~      ~      ~      ~      ~      -0.04688 0.2813 0.1406 
 DEAL::~      ~      ~      ~      ~      ~      ~      ~      -0.1250 ~      ~      ~      ~      ~      ~      ~      ~      0.7500 ~      ~      ~      ~      ~      ~      ~      ~      0.3750 
 DEAL::~      ~      ~      ~      ~      ~      ~      ~      ~      ~      ~      ~      ~      ~      ~      ~      ~      ~      ~      ~      ~      ~      1.000  ~      ~      ~      ~      
 DEAL::~      ~      ~      ~      ~      ~      ~      ~      ~      ~      ~      ~      ~      ~      ~      ~      ~      ~      ~      ~      ~      -0.1250 0.7500 0.3750 ~      ~      ~      
 DEAL::~      ~      ~      ~      ~      ~      ~      ~      ~      ~      ~      ~      ~      ~      ~      ~      ~      ~      ~      ~      ~      ~      ~      1.000  ~      ~      ~      
 DEAL::~      ~      ~      ~      ~      ~      ~      ~      ~      ~      ~      ~      ~      ~      ~      ~      ~      ~      ~      -0.1250 ~      ~      0.7500 ~      ~      0.3750 ~      
-DEAL::~      ~      ~      ~      ~      ~      ~      ~      ~      ~      ~      ~      ~      ~      ~      ~      ~      ~      0.01562 -0.09375 -0.04687 -0.09375 0.5625 0.2813 -0.04687 0.2812 0.1406 
+DEAL::~      ~      ~      ~      ~      ~      ~      ~      ~      ~      ~      ~      ~      ~      ~      ~      ~      ~      0.01563 -0.09375 -0.04688 -0.09375 0.5625 0.2813 -0.04688 0.2813 0.1406 
 DEAL::~      ~      ~      ~      ~      ~      ~      ~      ~      ~      ~      ~      ~      ~      ~      ~      ~      ~      ~      ~      -0.1250 ~      ~      0.7500 ~      ~      0.3750 
 DEAL::~      ~      ~      ~      ~      ~      ~      ~      ~      ~      ~      ~      ~      ~      ~      ~      ~      ~      ~      ~      ~      ~      ~      ~      ~      1.000  ~      
 DEAL::~      ~      ~      ~      ~      ~      ~      ~      ~      ~      ~      ~      ~      ~      ~      ~      ~      ~      ~      ~      ~      ~      ~      ~      -0.1250 0.7500 0.3750 

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.