-
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
Construct shapes in memory and support more shapes #1436
Conversation
This commit adds test code for testing in-memory shape construction and shaping with those objects.
Fix by changing the pointer references to shared_ptr references. This bug was recently created when factoring out the generation of the mesh so it can be saved outside the scope it was generated in.
…ct-shapes-in-memory
…ct-shapes-in-memory
to ensure the user provided a blueprint mesh.
Want to avoid having small ones that aren't well resolved with a coarse mesh.
…ct-shapes-in-memory
The check is valid but it causes a mysterious double-free error with gcc-13 on docker tests when shared libs are used, even if the checking code is never executed.
…ct-shapes-in-memory
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.
LGTM!
I appreciate the "todo" issue tracking in #1445.
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.
Thanks @gunney1!
Please ensure that API changes are documented in the RELEASE_NOTES.
I have a concern about whether the proposed change to the inout octree API will work with our Fortran interface. Please test this with shroud's make generate
command followed by running the Fortran tests.
All the tests passed after |
Thanks @gunney1. I looked a bit closer, and we don't expose the axom/src/axom/quest/interface/quest_shroud.yaml Lines 40 to 48 in 8f678a9
@ltaylor16 -- could you please look at the changes to |
Brian, I appreciate that you split this into three PRs. I'll be reviewing this one today. |
src/axom/quest/Shaper.hpp
Outdated
* \brief Loads the shape from file into m_surfaceMesh and, if its a C2C | ||
* contour, computes a revolvedVolume for the shape. |
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.
"if it's a C2C contour" or "if the file is a C2C contour"
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.
I re-worked the comment, which was written when this step was undergoing significant changes. Now, there are non-file shapes. This function now ensures that the discrete shape representation is ready for use, computing it if needed. Computing the revolved volume for C2C shapes is there for backward compatibility.
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.
Thanks, Brian.
Extend interface for intersection shaping
This PR is the first of 3 related PRs. They are separated to keep the code changes to a manageable size.
IntersectionShaper
#1445.