Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add isochoric_volumetric_split() for JAX-hyperelastic material #885

Merged
merged 1 commit into from
Nov 5, 2024

Conversation

adtzlr
Copy link
Owner

@adtzlr adtzlr commented Nov 5, 2024

This PR adds the isochoric-volumetric splot decorator for JAX materials. It also includes a new test for hyperelastic materials with an embedded minimization-problem for the evolution of the state variables. The trick is to use x_without_gradient = jax.lax.stop_gradient(x).

@adtzlr adtzlr added the enhancement New feature or request label Nov 5, 2024
@adtzlr adtzlr self-assigned this Nov 5, 2024
Copy link

codecov bot commented Nov 5, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 97.67%. Comparing base (5c71376) to head (3bed5b4).
Report is 1 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #885   +/-   ##
=======================================
  Coverage   97.67%   97.67%           
=======================================
  Files         166      167    +1     
  Lines        6057     6065    +8     
=======================================
+ Hits         5916     5924    +8     
  Misses        141      141           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@adtzlr adtzlr merged commit eb32edd into main Nov 5, 2024
7 checks passed
@adtzlr adtzlr deleted the add-iso-vol-split-jax branch November 5, 2024 15:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant