Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MatrixFree inverse mass matrix: Make tests more robust #15486

Merged
merged 1 commit into from Jun 26, 2023

Conversation

kronbichler
Copy link
Member

This makes two tests recently introduced by @bugrahantemur more robust by making the dyadic tensor more diagonally dominant with similar size of the entries (make entries spread around 5, rather than multiplying random numbers between 0.01 and 0.1 by 100). This should address failures like https://cdash.dealii.org/test/1003848 that fail because GMRES without precondition does not converge in 1000 iterations (roundoff errors are significant).

While there, also remove a refinement step that does not execute, if (cell->center().norm() < 1e-8) will evaluate to false as soon as the grid for (-1, 1) is refined at least once.

@tamiko tamiko merged commit 1ffb60c into dealii:master Jun 26, 2023
14 checks passed
@kronbichler kronbichler deleted the test_robustness2 branch August 10, 2023 16:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants