EulalieCoevoet / AdaptiveMerging

With adaptive merging we reduce computation time in rigid body simulations.
https://eulaliecoevoet.github.io/AdaptiveMerging/
42 stars 11 forks source link

PGS optimization #3

Closed paulkry closed 5 years ago

paulkry commented 5 years ago

Move the diagonal entry computation Dii and Aii in Erleben's paper, called JMinvJt in the code, along with b, outside the iteration loop as they are constant. They should be stored in the contact rather than making an array.

otmanon commented 5 years ago

Just commited + pushed pretty quick and easy code to solve this! Id like to get confirmation to close this issue.

EulalieCoevoet commented 5 years ago

Look's fine to me. It will actually help for the issue #17 (removing lambdas vector).