-
Notifications
You must be signed in to change notification settings - Fork 37
Geometric Contact Potential #191
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
Conversation
This reverts commit 3f9d421.
…CIL_SIZE instead of ELEMENT_SIZE; improve documentation for developer tools.
…ce test files; remove redundant includes and adjust order.
- Introduce `set_triplets` function for better triplet handling in `Potential`. - Replace `maybe_parallel_for` with `tbb::parallel_for` and `tbb::parallel_for_each` for improved clarity. - Update `hessian` method signature in `Potential` class to remove `virtual`. - Remove unused operator overloads in `SparseMatrixCache` and clean up related tests.
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 looks good to merge now.
If you could write a small tutorial in docs/source/tutorials
after this is merged, that would be very helpful. 🙏
In the future, I would like to make some structural changes to remove duplicated code. Hopefully, you can help me review them at that time.
Description
Implementation of Siggraph 2025 paper Geometric Contact Potential. The implementation includes the collision and friction potential, their gradient and Hessian.
Type of change
Please delete options that are not relevant.
Checklist