]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Throw away entries in the matrix with a more generous threshold. This test is rather...
authorWolfgang Bangerth <bangerth@math.tamu.edu>
Wed, 5 Sep 2012 20:41:23 +0000 (20:41 +0000)
committerWolfgang Bangerth <bangerth@math.tamu.edu>
Wed, 5 Sep 2012 20:41:23 +0000 (20:41 +0000)
git-svn-id: https://svn.dealii.org/trunk@26237 0785d39b-7218-0410-832d-ea1e28bc413d

tests/fe/rt_8.cc
tests/fe/rt_8/cmp/generic

index 81faa2d3d7517e3ca85f398a52479fe5cfbd34c5..67c9581e3f0e39b6ce6a35c9865be0fe6cb12313 100644 (file)
@@ -2,7 +2,7 @@
 //    rt_8.cc,v 1.3 2003/06/09 16:00:38 wolf Exp
 //    Version: 
 //
-//    Copyright (C) 2003, 2005, 2010 by the deal.II authors
+//    Copyright (C) 2003, 2005, 2010, 2012 by the deal.II authors
 //
 //    This file is subject to QPL and may not be  distributed
 //    without copyright and license information. Please refer
@@ -72,7 +72,7 @@ test (const unsigned int degree)
                 fe.JxW(q_point));
   for (unsigned int i=0; i<dofs_per_cell; ++i)
     for (unsigned int j=0; j<dofs_per_cell; ++j)
-      if (std::fabs(mass_matrix(i,j)) < 1e-16)
+      if (std::fabs(mass_matrix(i,j)) < 1e-14)
        mass_matrix(i,j) = 0;
   mass_matrix.print_formatted (logfile, 3, false, 0, " ", 1);
 
index 89ec6a6785ba3cef638edfc6daf41f9d6a2ba5e4..8aec3586e5a7aa974da597223e511716ed53b239 100644 (file)
@@ -14,80 +14,80 @@ DEAL::Degree=0: 2 iterations to obtain convergence.
                               0.196       -0.015                   -0.145 
                         -0.014       0.174             -0.129             
                               -0.015       0.196                   -0.145 
--0.129       -0.129                               1.195       0.000       
-                        -0.129       -0.129             1.195       0.000 
-      -0.145       -0.145                         0.000       1.345       
-                              -0.145       -0.145       0.000       1.345 
+-0.129       -0.129                               1.195                   
+                        -0.129       -0.129             1.195             
+      -0.145       -0.145                                     1.345       
+                              -0.145       -0.145                   1.345 
 DEAL:cg::Starting value 2.17323
 DEAL:cg::Convergence step 6 value 0
 DEAL::Degree=1: 6 iterations to obtain convergence.
 0.167       0.023 -0.006       -0.001                                     -0.129       0.178                               -0.018       0.025       
-      0.187             -0.007                                                                   -0.145       0.200       0.000                   
+      0.187             -0.007                                                                   -0.145       0.200                               
 0.023       0.267 -0.001       -0.010                                     -0.018       0.025                               -0.206       0.284       
 -0.006       -0.001 0.167       0.023                                     -0.129       -0.178                               -0.018       -0.025       
       -0.007             0.187                                                                   -0.145       -0.200                               
--0.001       -0.010 0.023       0.267                                     -0.018       -0.025       0.000       0.000       -0.206       -0.284       
+-0.001       -0.010 0.023       0.267                                     -0.018       -0.025                               -0.206       -0.284       
                                     0.167       0.023 -0.006       -0.001       -0.129                   -0.018       0.178                   0.025 
                                           0.187             -0.007                         -0.145                               0.200             
-                                    0.023       0.267 -0.001       -0.010       -0.018       0.000       -0.206       0.025                   0.284 
+                                    0.023       0.267 -0.001       -0.010       -0.018                   -0.206       0.025                   0.284 
                                     -0.006       -0.001 0.167       0.023       -0.129                   -0.018       -0.178                   -0.025 
                                           -0.007             0.187                         -0.145                               -0.200             
                                     -0.001       -0.010 0.023       0.267       -0.018                   -0.206       -0.025                   -0.284 
--0.129       -0.018 -0.129       -0.018                                     1.195       0.000                               0.167                   
-                                    -0.129       -0.018 -0.129       -0.018       1.195                   0.167       0.000                         
-0.178       0.025 -0.178       -0.025                                     0.000       1.318                   0.000                   0.184       
-                                          -0.145 0.000       -0.145                         1.345       0.000                               0.000 
-      -0.145             -0.145 0.000                                                             1.345                   0.000                   
-                                    -0.018       -0.206 -0.018       -0.206       0.167       0.000       1.914                                     
-      0.200             -0.200 0.000                                                 0.000                   1.483       0.000       0.000       
-                                    0.178       0.025 -0.178       -0.025       0.000                               1.318       0.000       0.184 
--0.018 0.000 -0.206 -0.018       -0.206                                     0.167                   0.000       0.000       1.914       0.000       
-                                          0.200             -0.200                                                 0.000       1.483       0.000 
-0.025       0.284 -0.025       -0.284                                                 0.184                   0.000       0.000       2.111       
-                                    0.025       0.284 -0.025       -0.284                   0.000                   0.184       0.000       2.111 
+-0.129       -0.018 -0.129       -0.018                                     1.195                                           0.167                   
+                                    -0.129       -0.018 -0.129       -0.018       1.195                   0.167                                     
+0.178       0.025 -0.178       -0.025                                                 1.318                                           0.184       
+                                          -0.145             -0.145                         1.345                                                 
+      -0.145             -0.145                                                                   1.345                                           
+                                    -0.018       -0.206 -0.018       -0.206       0.167                   1.914                                     
+      0.200             -0.200                                                                               1.483                               
+                                    0.178       0.025 -0.178       -0.025                                           1.318                   0.184 
+-0.018       -0.206 -0.018       -0.206                                     0.167                                           1.914                   
+                                          0.200             -0.200                                                             1.483             
+0.025       0.284 -0.025       -0.284                                                 0.184                                           2.111       
+                                    0.025       0.284 -0.025       -0.284                                           0.184                   2.111 
 DEAL:cg::Starting value 2.69692
 DEAL:cg::Convergence step 12 value 0
 DEAL::Degree=2: 12 iterations to obtain convergence.
-0.168 0.000 0.024 0.000 -0.005       -0.001                                                       -0.064       0.178       -0.118                   0.000                   -0.009       0.025       -0.017       0.000       0.000       0.000       
-0.000 0.189 0.000 0.108       -0.005       -0.003                                                             0.000                   -0.072       0.200       -0.133                   0.000       0.000       -0.041       0.114       -0.076       
-0.024 0.000 0.269 0.000 -0.001       -0.008                                                       -0.009       0.025       -0.017                   0.000       0.000       -0.102       0.284       -0.189                   0.000                   
-0.000 0.108 0.000 0.407       -0.003       -0.011                                                 0.000       0.000       0.000       -0.041       0.114       -0.076                   0.000       0.000       -0.155       0.430       -0.286       
--0.005       -0.001       0.168 0.000 0.024 0.000                                                 -0.064       -0.178       -0.118                   0.000                   -0.009       -0.025       -0.017       0.000       0.000       0.000       
-      -0.005       -0.003 0.000 0.189 0.000 0.108                                                             0.000                   -0.072       -0.200       -0.133                   0.000       0.000       -0.041       -0.114       -0.076       
--0.001       -0.008       0.024 0.000 0.269 0.000                                                 -0.009       -0.025       -0.017                   0.000       0.000       -0.102       -0.284       -0.189                                           
-      -0.003       -0.011 0.000 0.108 0.000 0.407                                                             0.000       0.000       -0.041       -0.114       -0.076                   0.000       0.000       -0.155       -0.430       -0.286       
-                                                0.168 0.000 0.024 0.000 -0.005       -0.001             -0.064                   -0.009       0.000       0.178                   0.025       0.000       -0.118       0.000       -0.017       0.000 
-                                                0.000 0.189 0.000 0.108       -0.005       -0.003                   -0.072       0.000       -0.041       0.000       0.200       0.000       0.114                   -0.133       0.000       -0.076 
-                                                0.024 0.000 0.269 0.000 -0.001       -0.008             -0.009                   -0.102                   0.025       0.000       0.284                   -0.017       0.000       -0.189             
-                                                0.000 0.108 0.000 0.407       -0.003       -0.011       0.000       -0.041                   -0.155       0.000       0.114                   0.430       0.000       -0.076       0.000       -0.286 
-                                                -0.005       -0.001       0.168       0.024 0.000       -0.064                   -0.009       0.000       -0.178       0.000       -0.025       0.000       -0.118                   -0.017       0.000 
-                                                      -0.005       -0.003       0.189 0.000 0.108                   -0.072                   -0.041       0.000       -0.200       0.000       -0.114                   -0.133       0.000       -0.076 
-                                                -0.001       -0.008       0.024 0.000 0.269 0.000       -0.009                   -0.102                   -0.025       0.000       -0.284       0.000       -0.017       0.000       -0.189       0.000 
-                                                      -0.003       -0.011 0.000 0.108 0.000 0.407       0.000       -0.041                   -0.155       0.000       -0.114                   -0.430       0.000       -0.076       0.000       -0.286 
--0.064       -0.009 0.000 -0.064       -0.009                                                       0.928       0.000       -0.069       0.000                               0.130                   -0.010       0.000       0.000       0.000       
-                                                -0.064       -0.009 0.000 -0.064       -0.009 0.000       0.928       0.000       0.130       0.000       0.000       0.000       0.000       0.000       -0.069       0.000       -0.010       0.000 
-0.178 0.000 0.025 0.000 -0.178 0.000 -0.025 0.000                                                 0.000       1.318       0.000                   0.000                   0.000       0.184                   0.000       0.000                   
-                                                      -0.072       -0.041       -0.072       -0.041       0.000       1.045       0.000       0.598       0.000       0.000       0.000       0.000                   -0.078       0.000       -0.045 
--0.118       -0.017 0.000 -0.118       -0.017 0.000                                                 -0.069       0.000       1.024                               0.000       -0.010                   0.143       0.000       0.000       0.000       
-                                                -0.009 0.000 -0.102       -0.009       -0.102             0.130       0.000       1.487       0.000       0.000       0.000       0.000       0.000       -0.010       0.000       -0.111       0.000 
-      -0.072       -0.041       -0.072       -0.041                                                 0.000                               1.045       0.000       -0.078       0.000       0.000                   0.598       0.000       -0.045       
-                                                0.000 -0.041       -0.155 0.000 -0.041       -0.155       0.000       0.598       0.000       2.247       0.000       0.000       0.000       0.000       0.000       -0.045       0.000       -0.168 
-0.000 0.200 0.000 0.114 0.000 -0.200 0.000 -0.114                                                             0.000                   0.000       1.483       0.000       0.000       0.000                               0.850       0.000       
-                                                0.178 0.000 0.025 0.000 -0.178 0.000 -0.025 0.000       0.000       0.000       0.000       0.000       1.318       0.000       0.184       0.000       0.000                   0.000       0.000 
-      -0.133 0.000 -0.076       -0.133 0.000 -0.076                                                                         0.000       -0.078       0.000       1.152       0.000                   0.000       -0.045       0.000       0.660       
-                                                      0.200 0.000 0.114 0.000 -0.200 0.000 -0.114       0.000       0.000       0.000       0.000       0.000       1.483       0.000       0.850                   0.000                   0.000 
--0.009       -0.102       -0.009       -0.102                                                       0.130       0.000       -0.010       0.000       0.000       0.000       1.487       0.000       -0.111       0.000       0.000       0.000       
-                                                0.025 0.000 0.284       -0.025 0.000 -0.284             0.000       0.000       0.000       0.000       0.184       0.000       2.111       0.000                   0.000       0.000       0.000 
-0.025 0.000 0.284 0.000 -0.025 0.000 -0.284 0.000                                                             0.184                   0.000       0.000                   0.000       2.111       0.000       0.000       0.000       0.000       
-                                                0.000 0.114       0.430 0.000 -0.114 0.000 -0.430       0.000       0.000       0.000       0.000       0.000       0.850       0.000       3.190       0.000       0.000                   0.000 
--0.017 0.000 -0.189 0.000 -0.017 0.000 -0.189 0.000                                                 -0.010                   0.143                               0.000       -0.111       0.000       1.641       0.000                   0.000       
-                                                -0.118       -0.017 0.000 -0.118       -0.017 0.000       -0.069                   -0.010       0.000       0.000                               0.000       1.024       0.000       0.143       0.000 
-0.000 -0.041       -0.155 0.000 -0.041       -0.155                                                 0.000       0.000       0.000       0.598                   -0.045       0.000       0.000       0.000       2.247       0.000       -0.168       
-                                                0.000 -0.133 0.000 -0.076       -0.133 0.000 -0.076       0.000       -0.078       0.000       -0.045                   0.000       0.000       0.000       0.000       1.152       0.000       0.660 
-0.000 0.114 0.000 0.430 0.000 -0.114       -0.430                                                 0.000       0.000       0.000       0.000       0.850       0.000       0.000       0.000                   0.000       3.190       0.000       
-                                                -0.017 0.000 -0.189 0.000 -0.017 0.000 -0.189 0.000       -0.010       0.000       -0.111       0.000       0.000                   0.000                   0.143       0.000       1.641       0.000 
-0.000 -0.076       -0.286 0.000 -0.076       -0.286                                                 0.000                   0.000       -0.045       0.000       0.660       0.000       0.000       0.000       -0.168       0.000       2.479       
-                                                0.000 -0.076       -0.286 0.000 -0.076 0.000 -0.286       0.000       -0.045       0.000       -0.168       0.000       0.000       0.000       0.000       0.000       0.660       0.000       2.479 
+0.168       0.024       -0.005       -0.001                                                       -0.064       0.178       -0.118                                           -0.009       0.025       -0.017                                           
+      0.189       0.108       -0.005       -0.003                                                                                     -0.072       0.200       -0.133                                           -0.041       0.114       -0.076       
+0.024       0.269       -0.001       -0.008                                                       -0.009       0.025       -0.017                                           -0.102       0.284       -0.189                                           
+      0.108       0.407       -0.003       -0.011                                                                                     -0.041       0.114       -0.076                                           -0.155       0.430       -0.286       
+-0.005       -0.001       0.168       0.024                                                       -0.064       -0.178       -0.118                                           -0.009       -0.025       -0.017                                           
+      -0.005       -0.003       0.189       0.108                                                                                     -0.072       -0.200       -0.133                                           -0.041       -0.114       -0.076       
+-0.001       -0.008       0.024       0.269                                                       -0.009       -0.025       -0.017                                           -0.102       -0.284       -0.189                                           
+      -0.003       -0.011       0.108       0.407                                                                                     -0.041       -0.114       -0.076                                           -0.155       -0.430       -0.286       
+                                                0.168       0.024       -0.005       -0.001             -0.064                   -0.009                   0.178                   0.025                   -0.118                   -0.017             
+                                                      0.189       0.108       -0.005       -0.003                   -0.072                   -0.041                   0.200                   0.114                   -0.133                   -0.076 
+                                                0.024       0.269       -0.001       -0.008             -0.009                   -0.102                   0.025                   0.284                   -0.017                   -0.189             
+                                                      0.108       0.407       -0.003       -0.011                   -0.041                   -0.155                   0.114                   0.430                   -0.076                   -0.286 
+                                                -0.005       -0.001       0.168       0.024             -0.064                   -0.009                   -0.178                   -0.025                   -0.118                   -0.017             
+                                                      -0.005       -0.003       0.189       0.108                   -0.072                   -0.041                   -0.200                   -0.114                   -0.133                   -0.076 
+                                                -0.001       -0.008       0.024       0.269             -0.009                   -0.102                   -0.025                   -0.284                   -0.017                   -0.189             
+                                                      -0.003       -0.011       0.108       0.407                   -0.041                   -0.155                   -0.114                   -0.430                   -0.076                   -0.286 
+-0.064       -0.009       -0.064       -0.009                                                       0.928                   -0.069                                           0.130                   -0.010                                           
+                                                -0.064       -0.009       -0.064       -0.009             0.928                   0.130                                                                   -0.069                   -0.010             
+0.178       0.025       -0.178       -0.025                                                                   1.318                                                                   0.184                                                       
+                                                      -0.072       -0.041       -0.072       -0.041                   1.045                   0.598                                                                   -0.078                   -0.045 
+-0.118       -0.017       -0.118       -0.017                                                       -0.069                   1.024                                           -0.010                   0.143                                           
+                                                -0.009       -0.102       -0.009       -0.102             0.130                   1.487                                                                   -0.010                   -0.111             
+      -0.072       -0.041       -0.072       -0.041                                                                                     1.045                   -0.078                                           0.598                   -0.045       
+                                                      -0.041       -0.155       -0.041       -0.155                   0.598                   2.247                                                                   -0.045                   -0.168 
+      0.200       0.114       -0.200       -0.114                                                                                                 1.483                                                                   0.850                   
+                                                0.178       0.025       -0.178       -0.025                                                             1.318                   0.184                                                             
+      -0.133       -0.076       -0.133       -0.076                                                                                     -0.078                   1.152                                           -0.045                   0.660       
+                                                      0.200       0.114       -0.200       -0.114                                                                   1.483                   0.850                                                 
+-0.009       -0.102       -0.009       -0.102                                                       0.130                   -0.010                                           1.487                   -0.111                                           
+                                                0.025       0.284       -0.025       -0.284                                                             0.184                   2.111                                                             
+0.025       0.284       -0.025       -0.284                                                                   0.184                                                                   2.111                                                       
+                                                      0.114       0.430       -0.114       -0.430                                                                   0.850                   3.190                                                 
+-0.017       -0.189       -0.017       -0.189                                                       -0.010                   0.143                                           -0.111                   1.641                                           
+                                                -0.118       -0.017       -0.118       -0.017             -0.069                   -0.010                                                                   1.024                   0.143             
+      -0.041       -0.155       -0.041       -0.155                                                                                     0.598                   -0.045                                           2.247                   -0.168       
+                                                      -0.133       -0.076       -0.133       -0.076                   -0.078                   -0.045                                                                   1.152                   0.660 
+      0.114       0.430       -0.114       -0.430                                                                                                 0.850                                                                   3.190                   
+                                                -0.017       -0.189       -0.017       -0.189             -0.010                   -0.111                                                                   0.143                   1.641             
+      -0.076       -0.286       -0.076       -0.286                                                                                     -0.045                   0.660                                           -0.168                   2.479       
+                                                      -0.076       -0.286       -0.076       -0.286                   -0.045                   -0.168                                                                   0.660                   2.479 
 DEAL:cg::Starting value 3.81366
 DEAL:cg::Convergence step 21 value 0.00000
 DEAL::Degree=3: 21 iterations to obtain convergence.

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.