BAMresearch / fenics-constitutive

Complex constitutive models beyond the FEniCS UFL.
https://bamresearch.github.io/fenics-constitutive
MIT License
13 stars 2 forks source link

33 elasticity for new interface 1 #46

Closed srosenbu closed 3 months ago

srosenbu commented 3 months ago

resolves #37 , resolves #33

This PR also introduces handling of history variables, but this is not tested yet. Use with caution

Todo

Edit: I added the examples directory to the pytest configuration, therefore tests for constitutive models can go into their respective directory, instead of the tests directory of the package itself

srosenbu commented 3 months ago

@saifr68 , @pdiercks , I think the PR is ready for review. I still need to add some docstrings and the tests are currently only some sanity checks, but they all pass. The larger test problems whcih were suggested to me can come later as an exampe for the documentation.