sparkl icon indicating copy to clipboard operation
sparkl copied to clipboard

feat: Elastic energy

Open Vollkornaffe opened this issue 2 years ago • 1 comments

This adds functions to compute the elastic energy density function from a given deformation gradient.

The new code is different from the existing one. See pos_energy: https://github.com/dimforge/sparkl/blob/43c13a65fef40b7872ec638c866c4b42926f3354/src/dynamics/models/elasticity_corotated_linear.rs#L35-L37 We may want to refactor.

Vollkornaffe avatar Dec 06 '23 18:12 Vollkornaffe

Once we've converged on style for the neo-hookean one, I'll update the corotated code to match.

Vollkornaffe avatar Dec 08 '23 11:12 Vollkornaffe