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

Construct shapes in memory and support more shapes #1436

Open
wants to merge 48 commits into
base: develop
Choose a base branch
from

Conversation

gunney1
Copy link
Contributor

@gunney1 gunney1 commented Oct 2, 2024

Summary

This is one of several steps toward extending support for shaping on GPUs and exending the menu of shapes supported.

  • This PR is a extension of the support for intersection shaping
  • It does the following:
    • Adds a number of shapes to intersection shaping, such as analytical spheres, cones, cylinders.
    • Adds interfaces for specifying the shapes in memory (instead of reading them from files)
    • Re-factors some code to reduce dependence on the MFEM mesh interface, as an initial step toward supporting Blueprint meshes. (Blueprint mesh support is in issue Support Blueprint mesh format in IntersectionShaper #1446 and will be worked on in separate PR.) In this PR, we just make changes to work with ArrayView instead of directly with the MFEM mesh interface.

This PR is a first pass at this capability. We would like to get something working asap for an application requirement. We will revisit the interface and performance by Spring 2025. See issue #1445.

gunney1 added 26 commits July 19, 2024 08:58
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.
to ensure the user provided a blueprint mesh.
@gunney1 gunney1 self-assigned this Oct 2, 2024
@gunney1 gunney1 added Quest Issues related to Axom's 'quest' component Klee Related to the Klee component labels Oct 2, 2024
src/axom/quest/DiscreteShape.hpp Outdated Show resolved Hide resolved
src/axom/quest/Shaper.hpp Outdated Show resolved Hide resolved
src/axom/quest/examples/CMakeLists.txt Show resolved Hide resolved
@gunney1 gunney1 requested review from rhornung67 and bmhan12 October 28, 2024 19:39
…ond to direction.

Multiple shape tests checks the mechanism for saving some mesh-dependent but not
shape-dependent data between calls to the shaper.  Letting some shapes change direction
makes the test a bit less trivial.
Want to avoid having small ones that aren't well resolved with a coarse mesh.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Klee Related to the Klee component Quest Issues related to Axom's 'quest' component
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants