Skip to content

Make Rapier optional and support Rapier f64 - #8

Open
Jondolf wants to merge 1 commit into
dimforge:mainfrom
Jondolf:rapier-f64
Open

Make Rapier optional and support Rapier f64#8
Jondolf wants to merge 1 commit into
dimforge:mainfrom
Jondolf:rapier-f64

Conversation

@Jondolf

@Jondolf Jondolf commented Jul 27, 2026

Copy link
Copy Markdown
Contributor

Currently, Slosh only supports rapier2d/rapier3d and not rapier2d-f64/rapier3d-f64. While supporting double-precision for the actual MPM simulation might be tricky or undesirable, it would still be good to be able to support coupling the simulation with Rapier for applications that do use f64 elsewhere.

There's also a TODO to make Rapier optional, so I did that in this PR as well, with optional, mutually exclusive rapier-f32 and rapier-f64 features. I'm happy to make any further changes here if needed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants