]> https://gitweb.dealii.org/ - dealii.git/commit
Adjust tests that fail due to vectorized accumulation 226/head
authorMartin Kronbichler <kronbichler@lnm.mw.tum.de>
Thu, 6 Nov 2014 11:54:00 +0000 (12:54 +0100)
committerMartin Kronbichler <kronbichler@lnm.mw.tum.de>
Thu, 6 Nov 2014 11:54:00 +0000 (12:54 +0100)
commit10f8ff56a247b760279160e35f47469111c959f9
tree257b288cf31c44262754051c5888dede5a7f1e2e
parenta4cafaf212254aa99b726ae947bdad7912910080
Adjust tests that fail due to vectorized accumulation

Commit c7f3054 changed the order of summation in inner products and norms because
these operations are now done in vectorized form. The affected tests show spurious
changes in the last digit.

To improve, the following changes were made:
- error_estimator_0?: The output was scaled by l1 norm which is unsafe. These tests
  should only test error estimation and hence the scaling is done by linfty_norm
  which will never depend on roundoff. Note that we output up to 7 digits of a float
  which notoriously runs into roundoff issues.
- mesh_3d_12 also outputs 6-7 digits of a float. Changed the accuray of output to 5
  digits.
- q_dg0_projection was deleted because it FE_Q_DG0 has a singular mass matrix and thus
  the final solution on the face can be anything. Note e.g. how different the previous
  solutions for Intel/non-Intel compilers were -> no good test.
12 files changed:
tests/bits/error_estimator_01.cc
tests/bits/error_estimator_01.output
tests/bits/error_estimator_02.cc
tests/bits/error_estimator_02.output
tests/codim_one/error_estimator_01.cc
tests/codim_one/error_estimator_01.output
tests/fe/q_dg0_projection_01.cc [deleted file]
tests/fe/q_dg0_projection_01.compiler=Intel=false.release.output [deleted file]
tests/fe/q_dg0_projection_01.compiler=Intel=true.release.output [deleted file]
tests/fe/q_dg0_projection_01.debug.output [deleted file]
tests/grid/mesh_3d_12.cc
tests/grid/mesh_3d_12.output

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.