NVIDIA / warp

A Python framework for high performance GPU simulation and graphics
https://nvidia.github.io/warp/
Other
1.75k stars 148 forks source link

[XPBD] Project tetrahedra constraints at once #195

Open jjcasmar opened 2 months ago

jjcasmar commented 2 months ago

According to "Parallel block Neo-Hookean XPBD using graph clustering", projecting tetrahedra constraints at once instead of first the deviatoric term and then the hidrostatic term may lead to a significant convergence improvement.

This patch adds that.

I am not sure if you accept external contributions or if you are event interested in something like this, so the submitted code is not tested, and most probably doesn't really work. If you are interested, I can review it so it passes tests