Example: 3d particles on a 2d plane - #397
Open
joaander wants to merge 13 commits into
Open
Conversation
First working version.
…ity to use different body and site positions.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Add a new example that demonstrates 3D interaction models (in this case, hard capsules) where the body centers are confined to a 2D plane.
To achieve this example, I needed to relax many
Microstatetrait bounds so thatBandPcould hold positions in different vector spaces.I also added 3D orbit camera controls to
hoomd-bevy.Motivation and context
Give users a starting point for quasi-2D simulations.
Resolves #234
Resolves #331
How has this been tested?
I ran the new example locally, and it behaved as expected. The GSD output renders as expected in OVITO, which has native support to render capsules.
Checklist:
doc/src/credits.md) in the pull request source branch.release-notes.mdfollowing the established format.