Skip to content

Add isochoric_volumetric_split() for JAX-hyperelastic material#885

Merged
adtzlr merged 1 commit into
mainfrom
add-iso-vol-split-jax
Nov 5, 2024
Merged

Add isochoric_volumetric_split() for JAX-hyperelastic material#885
adtzlr merged 1 commit into
mainfrom
add-iso-vol-split-jax

Conversation

@adtzlr

@adtzlr adtzlr commented Nov 5, 2024

Copy link
Copy Markdown
Owner

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
@codecov

codecov Bot commented Nov 5, 2024

Copy link
Copy Markdown

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
@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