-
Notifications
You must be signed in to change notification settings - Fork 45
Fix edge_face_distance functions in neighbors.py. Add unit test in test_neighbors.py #1293
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
Conversation
|
Looks like one of gradient test is failing now, which is probably due to the change in the distance. The expected values we set before we most likely incorrect. |
merge upstream updates into local branch
philipc2
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It appears that one of the tests is still failing. 3 of the values seem to be mismatched.
|
@philipc2 are you referring to test_gradient.py::test_quad_hex? |
Yeah, it seems to still be failing in the CI above. |
ASV BenchmarkingBenchmark Comparison ResultsBenchmarks that have improved:
Benchmarks that have stayed the same:
|
philipc2
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Excellent work @egallmeier
kafitzgerald
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks great 🎉
Closes #1291
Overview
_populate_edge_face_distancesand_construct_edge_face_distancesinneighbors.pyfrom using node coordinates to face coordinatestest_neighbors.pyto validate the_construct_edge_face_distancesfunctionality.Testing
Creates 5 face longitude and latitude pairs. The expected distances are: