Repository navigation
test(gmsh): measure the FEM reproducibility behind the transposition identity - #68
Merged
Merged
Conversation
…identity The transposition test compared two computations of one problem at 1e-14 of the norm and reported only false on macOS and Windows. It now computes the untransposed problem twice, compares the two mesh files byte for byte and asserts the reproducibility of the solve and the transposition identity with their ratios visible, so that a platform difference reports its size and its origin.
The identity compares two computations of one problem. On macOS and Windows Gmsh numbers the nodes of the same mesh differently from run to run, which changes the elimination order of the solve and its round-off; pull request 68 measured differences up to 1.1e-13 of the norm and none on Linux. The bound is 1e-12, ten times above the worst measurement, and a wrong transposition would miss it by orders of magnitude. The measurement scaffolding of the previous commit goes.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The FEM transposition test compared two computations of one problem at 1e-14 and reported only false on macOS and Windows. This computes the untransposed problem twice, compares the mesh files byte for byte and asserts the reproducibility of the solve and the transposition identity with their ratios visible. Measurement step; the fix of the test follows on this branch once the four FEM jobs report.