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

some problem in mesh_distance.cpp #12

Closed
Rouen007 opened this issue Jun 1, 2020 · 2 comments
Closed

some problem in mesh_distance.cpp #12

Rouen007 opened this issue Jun 1, 2020 · 2 comments

Comments

@Rouen007
Copy link

Rouen007 commented Jun 1, 2020

when i peek the source code in geometry/mesh_distance.cpp, i got some questions.
image
If dmr is lower then 0.0, the code "if (dmr > d_center)" would never be conducted.

And i could figure out the physical meaning of the variables like temp_ and dist_candiate in the piece of code.

Thank you very much.

@JoseAntFer
Copy link
Member

Thank you for pointing out this issue. The function has been refactored and a comment explaining what it does has been added to the sourcecode.

@Rouen007
Copy link
Author

Rouen007 commented Jun 5, 2020

Thank you very much.

@Rouen007 Rouen007 closed this as completed Jun 5, 2020
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

2 participants