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

Float data precision issue #194

Open
changliao1025 opened this issue Oct 22, 2023 · 1 comment
Open

Float data precision issue #194

changliao1025 opened this issue Oct 22, 2023 · 1 comment

Comments

@changliao1025
Copy link
Owner

When the mesh was saved during the simulation, the precision was lost partially; this causes a vertex comparison function to fail in some steps:
image

@changliao1025
Copy link
Owner Author

The above pVertex_end is actually the point with the cell center. But during the transfer, a slight difference was introduced and the program will miss it.
In this case, we will use a distance to check whether they are the same or not.

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

No branches or pull requests

1 participant