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

[Core] IntersectonUtilities - use epsilon in ComputePlaneLineIntersection #12192

Merged
merged 1 commit into from
Mar 15, 2024

Conversation

ddiezrod
Copy link
Contributor

We had a case in our QA suite in @KratosMultiphysics/altair that was failing randomly even when running with only 1 core. After some investigation I found that the problem came from an intersection of a line with a plane was very close to zero, making the result change a little in every run.

I also found that this function was not using an epsilon tolerance for this check even if it was already being defined. I added it so we make sure that all values of "r" between [0, 1.0] are considered as "intersected".

@ddiezrod ddiezrod self-assigned this Mar 15, 2024
@ddiezrod ddiezrod requested a review from a team as a code owner March 15, 2024 13:24
@ddiezrod ddiezrod enabled auto-merge (squash) March 15, 2024 13:50
@ddiezrod ddiezrod merged commit 115aa76 into master Mar 15, 2024
14 of 16 checks passed
@ddiezrod ddiezrod deleted the core/intersection-utilites-add-epsilon branch March 15, 2024 15:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants