Commit e33c2f52 authored by incardon's avatar incardon

Fixing numerics

parent 6da860ac
......@@ -291,7 +291,7 @@ template<typename solver_type,typename lid_nn> void lid_driven_cavity_2d()
BOOST_AUTO_TEST_CASE(lid_driven_cavity)
{
#ifdef HAVE_EIGEN
#if defined(HAVE_EIGEN) && defined(HAVE_SUITESPARSE)
lid_driven_cavity_2d<umfpack_solver<double>,lid_nn>();
#endif
}
......
......@@ -26,7 +26,7 @@ BOOST_AUTO_TEST_SUITE( sparse_matrix_test_suite )
BOOST_AUTO_TEST_CASE(sparse_matrix_eigen_parallel)
{
#ifdef HAVE_EIGEN
#if defined(HAVE_EIGEN) && defined(HAVE_SUITESPARSE)
Vcluster<> & vcl = create_vcluster();
......
......@@ -5191,7 +5191,7 @@ VERTICES 2592 5184
POINT_DATA 2592
VECTORS attr0 float
0.000000 0.000000 0.000000
-0.000001 0.000000 0.000000
-0.000002 0.000000 0.000000
-0.000000 0.000000 0.000000
0.000000 0.000000 0.000000
0.000000 0.000000 0.000000
......@@ -5210,7 +5210,7 @@ VECTORS attr0 float
-0.000000 0.000000 0.000000
-0.000001 0.000000 0.000000
-0.000002 0.000000 0.000000
-0.000002 0.000000 0.000000
-0.000003 0.000000 0.000000
-0.000003 0.000000 0.000000
-0.000004 0.000000 0.000000
-0.000005 0.000000 0.000000
......@@ -5247,7 +5247,7 @@ VECTORS attr0 float
-0.000001 0.000000 0.000000
-0.000001 0.000001 0.000000
-0.000002 0.000001 0.000000
-0.000002 0.000001 0.000000
-0.000003 0.000001 0.000000
-0.000003 0.000000 0.000000
-0.000003 0.000000 0.000000
-0.000003 -0.000000 0.000000
......@@ -5364,7 +5364,7 @@ VECTORS attr0 float
0.000001 -0.000005 0.000000
0.000001 -0.000003 0.000000
0.000000 -0.000000 0.000000
-0.000000 0.000004 0.000000
-0.000001 0.000004 0.000000
-0.000001 0.000005 0.000000
-0.000002 0.000000 0.000000
-0.000003 -0.000009 0.000000
......@@ -5427,7 +5427,7 @@ VECTORS attr0 float
-0.000001 0.000000 0.000000
-0.000001 0.000000 0.000001
-0.000002 0.000000 0.000001
-0.000002 0.000000 0.000001
-0.000003 0.000000 0.000001
-0.000003 0.000000 0.000000
-0.000003 0.000000 0.000000
-0.000003 0.000000 -0.000000
......@@ -5448,7 +5448,7 @@ VECTORS attr0 float
-0.000003 0.000001 0.000001
-0.000006 0.000001 0.000001
-0.000010 0.000002 0.000002
-0.000016 0.000003 0.000003
-0.000015 0.000003 0.000003
-0.000024 0.000004 0.000004
-0.000035 0.000005 0.000005
-0.000049 0.000007 0.000007
......@@ -5502,7 +5502,7 @@ VECTORS attr0 float
0.005783 -0.002300 -0.001232
0.009874 -0.003634 -0.001962
0.016184 -0.005591 -0.003038
0.025672 -0.008398 -0.004594
0.025672 -0.008399 -0.004594
0.039601 -0.012345 -0.006805
0.059574 -0.017780 -0.009897
0.087525 -0.025114 -0.014176
......@@ -5621,7 +5621,7 @@ VECTORS attr0 float
0.282748 -0.043869 -0.065358
0.307579 0.077727 -0.042849
0.254618 0.357925 0.138019
0.000000 1.000006 0.999998
0.000000 1.000007 0.999998
0.000000 0.000000 -0.000000
-0.000000 0.000000 -0.000000
0.000000 0.000000 -0.000000
......@@ -5682,7 +5682,7 @@ VECTORS attr0 float
0.005783 -0.001232 -0.002300
0.009874 -0.001962 -0.003634
0.016184 -0.003038 -0.005591
0.025672 -0.004594 -0.008398
0.025672 -0.004594 -0.008399
0.039601 -0.006805 -0.012345
0.059574 -0.009897 -0.017780
0.087525 -0.014176 -0.025114
......@@ -5760,12 +5760,12 @@ VECTORS attr0 float
0.143836 -0.064570 -0.047387
0.199751 -0.085030 -0.063484
0.267925 -0.107111 -0.082328
0.343716 -0.125984 -0.101822
0.343716 -0.125985 -0.101822
0.414089 -0.129956 -0.115203
0.451659 -0.092763 -0.102946
0.410424 0.040192 -0.012569
0.241794 0.366671 0.281254
0.000000 1.000008 1.000000
0.000000 1.000008 1.000001
0.000000 -0.000000 -0.000000
-0.000001 0.000003 0.000001
-0.000004 0.000006 0.000003
......@@ -5821,7 +5821,7 @@ VECTORS attr0 float
0.000088 -0.000642 -0.000345
0.000492 -0.001272 -0.000687
0.001240 -0.002307 -0.001251
0.002539 -0.003952 -0.002148
0.002539 -0.003951 -0.002148
0.004696 -0.006487 -0.003533
0.008149 -0.010293 -0.005617
0.013509 -0.015856 -0.008674
......@@ -5940,12 +5940,12 @@ VECTORS attr0 float
0.143836 -0.047387 -0.064570
0.199751 -0.063484 -0.085030
0.267925 -0.082328 -0.107111
0.343716 -0.101822 -0.125984
0.343716 -0.101822 -0.125985
0.414089 -0.115203 -0.129956
0.451659 -0.102946 -0.092763
0.410424 -0.012569 0.040192
0.241794 0.281254 0.366671
0.000000 1.000000 1.000008
0.000000 1.000001 1.000008
0.000000 -0.000000 -0.000000
-0.000002 0.000003 0.000003
-0.000005 0.000006 0.000006
......@@ -5961,7 +5961,7 @@ VECTORS attr0 float
-0.000245 0.000055 0.000055
-0.000258 0.000016 0.000016
-0.000216 -0.000075 -0.000075
-0.000069 -0.000252 -0.000252
-0.000070 -0.000252 -0.000252
0.000269 -0.000571 -0.000571
0.000933 -0.001115 -0.001115
0.002133 -0.002004 -0.002004
......@@ -6012,7 +6012,7 @@ VECTORS attr0 float
0.141045 -0.101999 -0.085989
0.191047 -0.129436 -0.110528
0.248018 -0.154598 -0.134923
0.304404 -0.167676 -0.152066
0.304404 -0.167677 -0.152066
0.344830 -0.150331 -0.147172
0.344541 -0.071440 -0.091392
0.275155 0.115470 0.067231
......@@ -6050,7 +6050,7 @@ VECTORS attr0 float
0.191002 -0.166411 -0.137223
0.234444 -0.174945 -0.153170
0.265785 -0.147381 -0.145926
0.266155 -0.052647 -0.086742
0.266155 -0.052647 -0.086743
0.213624 0.149950 0.075136
0.103358 0.499085 0.415521
0.000000 1.000000 0.999997
......@@ -6192,7 +6192,7 @@ VECTORS attr0 float
0.141045 -0.085989 -0.101999
0.191047 -0.110528 -0.129436
0.248018 -0.134923 -0.154598
0.304404 -0.152066 -0.167676
0.304404 -0.152066 -0.167677
0.344830 -0.147172 -0.150331
0.344541 -0.091392 -0.071440
0.275155 0.067231 0.115470
......@@ -6248,7 +6248,7 @@ VECTORS attr0 float
-0.000110 0.000097 0.000088
-0.000124 0.000065 0.000059
-0.000122 -0.000022 -0.000020
-0.000084 -0.000205 -0.000188
-0.000084 -0.000204 -0.000188
0.000020 -0.000547 -0.000502
0.000241 -0.001149 -0.001054
0.000659 -0.002154 -0.001977
......@@ -6337,11 +6337,11 @@ VECTORS attr0 float
0.098490 -0.024060 -0.070213
0.136050 -0.032577 -0.085769
0.181952 -0.043396 -0.095481
0.233627 -0.056086 -0.088440
0.233626 -0.056086 -0.088440
0.282748 -0.065358 -0.043869
0.307579 -0.042849 0.077727
0.254618 0.138019 0.357925
0.000000 0.999998 1.000006
0.000000 0.999998 1.000007
0.000000 -0.000000 -0.000000
-0.000001 0.000002 0.000004
-0.000003 0.000003 0.000007
......@@ -6361,7 +6361,7 @@ VECTORS attr0 float
0.000088 -0.000345 -0.000642
0.000492 -0.000687 -0.001272
0.001240 -0.001251 -0.002307
0.002539 -0.002148 -0.003952
0.002539 -0.002148 -0.003951
0.004696 -0.003533 -0.006487
0.008149 -0.005617 -0.010293
0.013509 -0.008674 -0.015856
......@@ -6410,7 +6410,7 @@ VECTORS attr0 float
0.191002 -0.137223 -0.166411
0.234444 -0.153170 -0.174945
0.265785 -0.145926 -0.147381
0.266155 -0.086742 -0.052647
0.266155 -0.086743 -0.052647
0.213624 0.075136 0.149950
0.103358 0.415521 0.499085
0.000000 0.999997 1.000000
......@@ -6428,7 +6428,7 @@ VECTORS attr0 float
-0.000110 0.000088 0.000097
-0.000124 0.000059 0.000065
-0.000122 -0.000020 -0.000022
-0.000084 -0.000188 -0.000205
-0.000084 -0.000188 -0.000204
0.000020 -0.000502 -0.000547
0.000241 -0.001054 -0.001149
0.000659 -0.001977 -0.002154
......@@ -6517,7 +6517,7 @@ VECTORS attr0 float
-0.000000 0.000000 -0.000002
-0.000001 0.000000 0.000002
-0.000003 0.000000 0.000006
-0.000003 0.000000 0.000007
-0.000004 0.000000 0.000007
-0.000004 0.000000 0.000001
-0.000004 0.000000 -0.000009
-0.000003 0.000000 -0.000007
......@@ -6735,7 +6735,7 @@ VECTORS attr0 float
-0.000003 0.000000 0.000007
-0.000003 0.000000 0.000007
-0.000002 0.000000 0.000000
-0.000001 0.000000 -0.000010
-0.000001 0.000000 -0.000011
-0.000000 0.000000 -0.000008
0.000000 0.999998 -0.000006
0.000000 -0.000000 -0.000000
......@@ -6875,7 +6875,7 @@ VECTORS attr0 float
0.000000 -0.083117 -0.083117
0.000000 -0.109444 -0.109444
0.000000 -0.137597 -0.137597
-0.000000 -0.162107 -0.162107
0.000000 -0.162107 -0.162107
-0.000000 -0.172057 -0.172057
-0.000000 -0.148013 -0.148013
-0.000000 -0.058874 -0.058874
......@@ -6943,7 +6943,7 @@ VECTORS attr0 float
0.000001 0.000000 -0.000000
0.000001 0.000000 -0.000001
0.000001 0.000000 -0.000002
0.000001 0.000000 -0.000002
0.000001 0.000000 -0.000003
0.000000 0.000000 -0.000003
-0.000000 0.000000 -0.000002
-0.000001 0.000000 0.000000
......@@ -6951,7 +6951,7 @@ VECTORS attr0 float
-0.000003 0.000000 0.000007
-0.000002 0.000000 0.000006
0.000000 0.000000 -0.000002
0.000002 0.000000 -0.000012
0.000002 0.000000 -0.000013
0.000003 0.000000 -0.000009
0.000000 0.999998 -0.000002
0.000000 -0.000000 -0.000000
......@@ -6967,7 +6967,7 @@ VECTORS attr0 float
-0.000019 0.000015 0.000035
-0.000027 0.000018 0.000044
-0.000038 0.000021 0.000052
-0.000051 0.000023 0.000055
-0.000051 0.000023 0.000056
-0.000067 0.000019 0.000049
-0.000083 0.000007 0.000022
-0.000096 -0.000021 -0.000042
......@@ -6988,7 +6988,7 @@ VECTORS attr0 float
0.086150 -0.050111 -0.075009
0.130065 -0.059061 -0.054580
0.179883 -0.035546 0.036648
0.189403 0.146859 0.305228
0.189404 0.146859 0.305228
0.000000 1.000003 1.000005
0.000000 -0.000000 -0.000000
-0.000000 0.000001 0.000002
......@@ -7027,7 +7027,7 @@ VECTORS attr0 float
0.084507 0.306303 0.390977
0.000000 1.000003 1.000009
0.000000 -0.000000 -0.000000
0.000000 0.000003 0.000003
-0.000000 0.000003 0.000003
-0.000000 0.000005 0.000005
-0.000000 0.000008 0.000008
-0.000000 0.000012 0.000012
......@@ -7094,7 +7094,7 @@ VECTORS attr0 float
-0.056820 -0.146809 -0.128844
-0.073402 -0.158149 -0.144351
-0.089007 -0.138617 -0.137200
-0.097293 -0.057197 -0.078522
-0.097293 -0.057198 -0.078522
-0.087379 0.131519 0.082707
-0.048966 0.478165 0.421762
0.000000 1.000000 0.999997
......@@ -7208,7 +7208,7 @@ VECTORS attr0 float
0.000000 1.000009 1.000007
0.000000 -0.000000 -0.000000
0.000000 0.000001 0.000001
0.000000 0.000002 0.000002
-0.000000 0.000002 0.000002
-0.000000 0.000003 0.000003
-0.000000 0.000005 0.000005
-0.000000 0.000007 0.000007
......@@ -7240,7 +7240,7 @@ VECTORS attr0 float
-0.000000 -0.087763 -0.087763
-0.000000 -0.077696 -0.077696
-0.000000 0.006330 0.006330
0.000000 0.291319 0.291319
-0.000000 0.291319 0.291319
0.000000 1.000010 1.000010
0.000000 -0.000000 -0.000000
0.000000 0.000002 0.000001
......@@ -7400,7 +7400,7 @@ VECTORS attr0 float
-0.000000 0.000009 0.000009
-0.000000 0.000013 0.000013
-0.000000 0.000018 0.000018
0.000000 0.000024 0.000024
-0.000000 0.000024 0.000024
-0.000000 0.000030 0.000030
-0.000000 0.000035 0.000035
-0.000000 0.000038 0.000038
......@@ -7419,7 +7419,7 @@ VECTORS attr0 float
-0.000000 -0.018783 -0.018783
-0.000000 -0.029461 -0.029461
-0.000000 -0.041832 -0.041832
0.000000 -0.034192 -0.034192
-0.000000 -0.034192 -0.034192
0.000000 0.115537 0.115537
0.000000 1.000005 1.000005
0.000000 -0.000000 -0.000000
......@@ -7471,7 +7471,7 @@ VECTORS attr0 float
0.000019 0.000035 0.000015
0.000027 0.000044 0.000018
0.000038 0.000052 0.000021
0.000051 0.000055 0.000023
0.000051 0.000056 0.000023
0.000067 0.000049 0.000019
0.000083 0.000022 0.000007
0.000096 -0.000042 -0.000021
......@@ -7492,7 +7492,7 @@ VECTORS attr0 float
-0.086150 -0.075009 -0.050111
-0.130065 -0.054580 -0.059061
-0.179883 0.036648 -0.035546
-0.189403 0.305228 0.146859
-0.189404 0.305228 0.146859
0.000000 1.000005 1.000003
0.000000 -0.000000 -0.000000
0.000000 0.000002 0.000000
......@@ -7699,7 +7699,7 @@ VECTORS attr0 float
-0.000001 -0.000000 0.000000
-0.000001 -0.000001 0.000000
-0.000001 -0.000002 0.000000
-0.000001 -0.000002 0.000000
-0.000001 -0.000003 0.000000
-0.000000 -0.000003 0.000000
0.000000 -0.000002 0.000000
0.000001 0.000000 0.000000
......@@ -7707,7 +7707,7 @@ VECTORS attr0 float
0.000003 0.000007 0.000000
0.000002 0.000006 0.000000
-0.000000 -0.000002 0.000000
-0.000002 -0.000012 0.000000
-0.000002 -0.000013 0.000000
-0.000003 -0.000009 0.000000
0.000000 -0.000002 0.999998
0.000000 -0.000000 0.000000
......@@ -7743,7 +7743,7 @@ VECTORS attr0 float
0.000003 0.000007 0.000000
0.000003 0.000007 0.000000
0.000002 0.000000 0.000000
0.000001 -0.000010 0.000000
0.000001 -0.000011 0.000000
0.000000 -0.000008 0.000000
0.000000 -0.000006 0.999998
0.000000 -0.000000 0.000000
......@@ -7753,7 +7753,7 @@ VECTORS attr0 float
-0.000000 -0.000000 0.000000
-0.000000 -0.000000 0.000000
-0.000000 -0.000000 0.000000
-0.000000 -0.000000 0.000000
-0.000000 0.000000 0.000000
-0.000000 0.000000 0.000000
0.000000 0.000000 0.000000
0.000000 0.000000 0.000000
......@@ -7784,7 +7784,7 @@ VECTORS attr0 float
0.000000 -0.000006 0.999998
SCALARS attr1 float
LOOKUP_TABLE default
-0.000017
-0.000018
-0.000011
0.000013
0.000014
......@@ -7809,19 +7809,19 @@ LOOKUP_TABLE default
-0.003498
-0.016847
-0.041565
-0.084688
-0.084689
-0.156938
-0.274603
-0.274604
-0.462667
-0.760481
-0.760482
-1.233074
-1.995302
-1.995303
-3.265322
-5.479354
-9.488136
-6.040438
-0.000010
0.000004
0.000003
0.000025
0.000028
0.000041
......@@ -7839,21 +7839,21 @@ LOOKUP_TABLE default
0.007387
0.009341
0.011130
0.012087
0.012088
0.010980
0.005665
-0.007423
-0.034025
-0.083154
-0.168682
-0.168683
-0.311690
-0.544034
-0.914150
-1.497228
-1.497229
-2.414558
-3.872393
-6.240350
-10.193531
-10.193532
-16.851776
-10.514015
0.000015
......@@ -7884,9 +7884,9 @@ LOOKUP_TABLE default
-0.155558
-0.289288
-0.506365
-0.850791
-0.850792
-1.388852
-2.222641
-2.222642
-3.514543
-5.529476
-8.688010
......@@ -7909,7 +7909,7 @@ LOOKUP_TABLE default
0.003640
0.005064
0.006825
0.008858
0.008859
0.010947
0.012605
0.012888
......@@ -7917,23 +7917,23 @@ LOOKUP_TABLE default
0.001385
-0.017974
-0.055411
-0.122414
-0.122415
-0.236364
-0.423130
-0.423131
-0.720896
-1.186109
-1.903697
-3.006156
-4.710255
-7.380253
-11.583011
-11.583012
-7.076051
0.000011
0.000019
0.000014
0.000011
0.000016
0.000031
0.000032
0.000064
0.000121
0.000217
......@@ -7962,7 +7962,7 @@ LOOKUP_TABLE default
-2.476263
-3.964238
-6.379653
-10.371494
-10.371495
-6.431252
0.000007
0.000012
......@@ -7993,15 +7993,15 @@ LOOKUP_TABLE default
-0.085423
-0.190985
-0.371787
-0.672236
-0.672237
-1.163972
-1.968825
-3.306566
-5.584920
-9.506231
-9.506232
-5.993443
-0.000010
0.000004
0.000003
0.000025
0.000028
0.000041
......@@ -8019,21 +8019,21 @@ LOOKUP_TABLE default
0.007387
0.009341
0.011130
0.012087
0.012088
0.010980
0.005665
-0.007423
-0.034025
-0.083154
-0.168682
-0.168683
-0.311690
-0.544034
-0.914150
-1.497228
-1.497229
-2.414558
-3.872393
-6.240350
-10.193531
-10.193532
-16.851776
-10.514015
0.000007
......@@ -8064,12 +8064,12 @@ LOOKUP_TABLE default
-0.349385
-0.637939
-1.103907
-1.841367
-2.993658
-4.784825
-7.576354
-1.841368
-2.993659
-4.784827
-7.576355
-11.962145
-18.873219
-18.873220
-29.372124
-17.821917
0.000033
......@@ -8086,7 +8086,7 @@ LOOKUP_TABLE default
0.002590
0.003817
0.005479
0.007651
0.007652
0.010360
0.013523
0.016837
......@@ -8097,16 +8097,16 @@ LOOKUP_TABLE default
-0.023081
-0.077671
-0.176331
-0.345381
-0.345382
-0.624193
-1.070947
-1.771021
-1.771022
-2.849516
-4.489966
-6.959563
-4.489967
-6.959564
-10.626664
-15.885851
-22.617266
-22.617268
-13.137502
0.000031
0.000056
......@@ -8141,8 +8141,8 @@ LOOKUP_TABLE default
-3.895404
-5.985683
-9.020776
-13.282743
-18.758888
-13.282745
-18.758890
-10.882085
0.000026
0.000045
......@@ -8168,16 +8168,16 @@ LOOKUP_TABLE default
0.017361
0.002422
-0.030724
-0.094767
-0.094768
-0.209225
-0.403414
-0.720493
-1.222938
-2.000142
-3.179316
-4.941277
-4.941278
-7.539154
-11.290726
-11.290727
-16.371567
-9.622748
0.000018
......@@ -8244,9 +8244,9 @@ LOOKUP_TABLE default
-0.155558
-0.289288
-0.506365
-0.850791
-0.850792
-1.388852
-2.222641
-2.222642
-3.514543
-5.529476
-8.688010
......@@ -8266,7 +8266,7 @@ LOOKUP_TABLE default
0.002590
0.003817
0.005479
0.007651
0.007652
0.010360
0.013523
0.016837
......@@ -8277,14 +8277,14 @@ LOOKUP_TABLE default
-0.023081
-0.077671
-0.176331
-0.345381
-0.345382
-0.624193
-1.070947
-1.771021
-1.771022
-2.849516
-4.489966
-6.959563
-10.626663
-4.489967
-6.959564
-10.626664
-15.885851
-22.617266
-13.137501
......@@ -8309,20 +8309,20 @@ LOOKUP_TABLE default
0.016029
0.015080
0.009027
-0.006550
-0.006549
-0.038780
-0.098838
-0.203814
-0.379288
-0.379289
-0.662822
-1.108567
-1.793121
-2.822129
-4.334640
-6.493349
-6.493350
-9.419649
-12.943267
-15.789526
-15.789527
-8.388209
0.000036
0.000066
......@@ -8354,10 +8354,10 @@ LOOKUP_TABLE default
-1.011870
-1.621485
-2.522800
-3.815863
-5.595410
-3.815864
-5.595411
-7.876674
-10.381655
-10.381656
-11.990492
-6.176908
0.000032
......@@ -8385,16 +8385,16 @@ LOOKUP_TABLE default
-0.027599
-0.072603
-0.151465
-0.283279
-0.283280
-0.495664
-0.827429
-1.331178
-2.074461
-3.135767
-4.585493
-6.426320
-4.585494
-6.426321
-8.427652
-9.693505
-9.693506
-4.984766
0.000023
0.000041
......@@ -8449,7 +8449,7 @@ LOOKUP_TABLE default
0.003640
0.005064
0.006825
0.008858
0.008859
0.010947
0.012605
0.012888
......@@ -8457,16 +8457,16 @@ LOOKUP_TABLE default
0.001385
-0.017974
-0.055411
-0.122414
-0.122415
-0.236364
-0.423130
-0.423131
-0.720896
-1.186109
-1.903697
-3.006156
-4.710255
-7.380253
-11.583011
-11.583012
-7.076051
0.000031
0.000056
......@@ -8501,8 +8501,8 @@ LOOKUP_TABLE default
-3.895404
-5.985683
-9.020776
-13.282743
-18.758888
-13.282745