Skip to content

[OptApp] Fixing tolerance issue in the test#11760

Merged
sunethwarna merged 2 commits intomasterfrom
optapp/fix/implicit_filter_test
Nov 3, 2023
Merged

[OptApp] Fixing tolerance issue in the test#11760
sunethwarna merged 2 commits intomasterfrom
optapp/fix/implicit_filter_test

Conversation

@sunethwarna
Copy link
Member

📝 Description
As you have noticed, OptApp started having a test failure in CI. It was due to tolerance of the AMGCL solver used in solving the PDE. Now I changed everything to use Intel-Pardiso direct solver so not to have tolerance issues.

Sorry for the inconvinience.

🆕 Changelog

  • Fix tolerance issue in the test

@sunethwarna sunethwarna added Applications Python Hotfix FastPR This Pr is simple and / or has been already tested and the revision should be fast labels Nov 3, 2023
@sunethwarna sunethwarna self-assigned this Nov 3, 2023
Igarizza
Igarizza previously approved these changes Nov 3, 2023
filtered_field = self.shell_vector_filter.UnFilterField(unfiltered_uniform_field_nodal)
filtered_field = self.shell_vector_filter.FilterField(filtered_field)
self.assertAlmostEqual(KOA.ExpressionUtils.NormL2(filtered_field), 5.196058, 4)
self.assertAlmostEqual(KOA.ExpressionUtils.NormL2(filtered_field), 5.196153341144455, 4)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The number is close, what I get on Mac Os with amgcl.

@sunethwarna
Copy link
Member Author

sunethwarna commented Nov 3, 2023

Hmm... now its failing in MeshMovingApplication and I haven't even touched anything related to MeshMovingApplication....

@sunethwarna
Copy link
Member Author

Can someone pre-approve... @rubenzorrilla @roigcarlo @Igarizza @matekelemen ?

@sunethwarna sunethwarna merged commit 507017c into master Nov 3, 2023
@sunethwarna sunethwarna deleted the optapp/fix/implicit_filter_test branch November 3, 2023 19:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Applications FastPR This Pr is simple and / or has been already tested and the revision should be fast Hotfix Python

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants