-
Notifications
You must be signed in to change notification settings - Fork 27
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
Add 3D tests for DistributedClosestPoints #1267
Conversation
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.
This is looking nice @gunney1 -- if it's not too difficult, could you please post a screenshot and perhaps some performance stats (e.g. cpu vs. gpu vs. openmp) when they're ready?
}; | ||
|
||
// Output some global mesh size stats | ||
{ |
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.
Is it preferable to define each of these in a separate scope or reuse/rename the local variables?
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.
The scope makes it clear that they're temporary variables, but reusing variables would shorten the code by a few lines.
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.
A couple of comments to think about.
src/axom/quest/examples/quest_distributed_distance_query_example.cpp
Outdated
Show resolved
Hide resolved
src/axom/quest/examples/quest_distributed_distance_query_example.cpp
Outdated
Show resolved
Hide resolved
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.
Thank you for the tests! One typo and a general style suggestion.
Add 3D tests for
DistributedClosestPoints
quest_distributed_distance_query_example.cpp
to accomodate 3D meshes.Images from the 3D tests follow. Some of the object points lie outside the query mesh, so their colors aren't faded from the opacity of the mesh. The problem had a distance threshold of 0.3.
This PR resolves #910