sofa icon indicating copy to clipboard operation
sofa copied to clipboard

TriangularFEMForceField Performance optimization

Open Alico10 opened this issue 1 year ago • 2 comments

For large displacements method: initLarge: "mstate->read" should return a reference instead of coord vector, this can significantly improve initialization performance, especially when the mesh is relatively large. I suggest checking the similar issues again. applyStiffnessLarge: TriangleInformation::rotation and its inverse right multiplication coord can be optimized,just like how we did in TriangleFEMUtils.

Alico10 avatar Dec 01 '23 08:12 Alico10

I agree. I'll make a Pull Request soon. Thanks.

alxbilger avatar Dec 01 '23 08:12 alxbilger

@alxbilger do you confirm you fixed that in the PR and we can close this issue?

epernod avatar Feb 16 '24 10:02 epernod