sandialabs / verdict

verdict
Other
26 stars 6 forks source link

Skew and taper tests fail for hex_test3_flat on x86 (32bit) #3

Open StefanBruens opened 2 years ago

StefanBruens commented 2 years ago

https://github.com/sandialabs/verdict/blob/fb582cf4fc04ecbd2bf423554325bda01231227a/unittests/verdict.test.cpp#L624-L626

Test body is a squashed flat hexahedron.

[   66s] [ RUN      ] verdict.hex_test3_flat
[   66s] Test case "hex_test3_flat" #1 Calculated = 0.707107 Expected = 1e+30
[   66s] /home/abuild/rpmbuild/BUILD/verdict-1.4.0/unittests/verdict.test.cpp:70: Failure
[   66s] The difference between calculated_answer and expected_answer is 1e+30, which exceeds std::abs(expected_answer) * 1e-05 + 1e-05, where
[   66s] calculated_answer evaluates to 0.70710678118654757,
[   66s] expected_answer evaluates to 1e+30, and
[   66s] std::abs(expected_answer) * 1e-05 + 1e-05 evaluates to 1.0000000000000001e+25.
[   66s] Test case "hex_test3_flat" #2 Calculated = 5.09524e+15 Expected = 1e+30
[   66s] /home/abuild/rpmbuild/BUILD/verdict-1.4.0/unittests/verdict.test.cpp:70: Failure
[   66s] The difference between calculated_answer and expected_answer is 9.9999999999999495e+29, which exceeds std::abs(expected_answer) * 1e-05 + 1e-05, where
[   66s] calculated_answer evaluates to 5095241338020618,
[   66s] expected_answer evaluates to 1e+30, and
[   66s] std::abs(expected_answer) * 1e-05 + 1e-05 evaluates to 1.0000000000000001e+25.
[   66s] Test case "hex_test3_flat" #3 Calculated = 0 Expected = 0
[   66s] Test case "hex_test3_flat" #4 Calculated = 0.19245 Expected = 0.19245
[   66s] Test case "hex_test3_flat" #5 Calculated = 1 Expected = 1
[   66s] Test case "hex_test3_flat" #6 Calculated = 0 Expected = 0
[   66s] Test case "hex_test3_flat" #7 Calculated = 1e+30 Expected = 1e+30
[   66s] Test case "hex_test3_flat" #8 Calculated = 1e+30 Expected = 1e+30
[   66s] Test case "hex_test3_flat" #9 Calculated = 0 Expected = 0
[   66s] Test case "hex_test3_flat" #10 Calculated = 0 Expected = 0
[   66s] Test case "hex_test3_flat" #11 Calculated = 0 Expected = 0
[   66s] Test case "hex_test3_flat" #12 Calculated = 1e+30 Expected = 1e+30
[   66s] Test case "hex_test3_flat" #13 Calculated = -1e+30 Expected = -1e+30
[   66s] Test case "hex_test3_flat" #14 Calculated = 1e+30 Expected = 1e+30
[   66s] Test case "hex_test3_flat" #15 Calculated = 7.07107 Expected = 7.07107
[   66s] Test case "hex_test3_flat" #16 Calculated = 0.5 Expected = 0.5
[   66s] [  FAILED  ] verdict.hex_test3_flat (0 ms)