Skip to content

added an optional tolerance for the rst coordinates in interpolation - #273

Merged
adperezm merged 2 commits into
mainfrom
fix/interpolation_rst_tolerance
Oct 14, 2026
Merged

adperezm merged 2 commits into
mainfrom
fix/interpolation_rst_tolerance

Conversation

@Mr-2c

@Mr-2c Mr-2c commented Sep 27, 2026

Copy link
Copy Markdown
Collaborator

The coordinates of the face points were different by 1 ULP in fp32 and the low tolerances on rst coordinates made some interpolation points that lied almost exactly on the face not belong to neither elements. This was observed mostly on larger boxes but also on the smaller ones depending on the grid...

This PR adds an optional rst tolerance (admittedly not the greatest way of solving the problem) which will help solve the issue such all points are now found.

@Mr-2c

Mr-2c commented Sep 27, 2026

Copy link
Copy Markdown
Collaborator Author

almost forgot... acknowledging my best friends help on this (Claude Fable and Opus)

@adperezm

Copy link
Copy Markdown
Collaborator

Hi thanks!

I will merge it but first I will do some modifications. Perhaps not today, but this week for sure :D

@adperezm
adperezm merged commit 5f1a098 into main Oct 14, 2026
9 checks passed
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