Skip to content

Adapts injectivity check state update#127

Merged
jmartfrut merged 1 commit into
mainfrom
optinjectivity
Mar 5, 2026
Merged

Adapts injectivity check state update#127
jmartfrut merged 1 commit into
mainfrom
optinjectivity

Conversation

@jmartfrut

Copy link
Copy Markdown
Collaborator

Passes the β parameter as a function to the update_state! method. This aligns with an updated InjectivityCheck API, ensuring consistent handling of parameters within the injectivity preservation logic.

Passes the `β` parameter as a function to the `update_state!` method. This aligns with an updated `InjectivityCheck` API, ensuring consistent handling of parameters within the injectivity preservation logic.
@jmartfrut jmartfrut merged commit 127d980 into main Mar 5, 2026
1 of 4 checks passed
@github-actions

github-actions Bot commented Mar 5, 2026

Copy link
Copy Markdown

Benchmark Results (Julia v1)

Time benchmarks
main 93e0da6... main / 93e0da6...
Constitutive models/Visco-elastic Ψ 0.0524 ± 0.036 ms 0.053 ± 0.014 ms 0.989 ± 0.73
Constitutive models/Visco-elastic ∂Ψu 0.0655 ± 0.0027 ms 0.0661 ± 0.0025 ms 0.99 ± 0.056
Constitutive models/Visco-elastic ∂Ψuu 0.115 ± 0.013 ms 0.118 ± 0.015 ms 0.977 ± 0.17
Simulations/StaticMechanicalDirichlet 0.133 ± 0.0095 s 0.142 ± 0.015 s 0.942 ± 0.12
Simulations/StaticMechanicalNeumann 0.13 ± 0.018 s 0.135 ± 0.012 s 0.966 ± 0.16
Simulations/ViscoElastic 21.8 s 22.4 s 0.972
Tensor algebra/Cofactor 0.07 ± 0.01 μs 0.07 ± 0 μs 1 ± 0.14
Tensor algebra/Det(A)Inv(A') 0.131 ± 0.021 μs 0.14 ± 0.021 μs 0.936 ± 0.21
Tensor algebra/δδ_λ_2d 30 ± 0 ns 30 ± 0 ns 1 ± 0
Tensor algebra/δδ_μ_2d 30 ± 0 ns 30 ± 0 ns 1 ± 0
time_to_load 0.0218 ± 0.00033 h 0.0221 ± 0.00022 h 0.988 ± 0.018
Memory benchmarks
main 93e0da6... main / 93e0da6...
Constitutive models/Visco-elastic Ψ 1.24 k allocs: 0.0777 MB 1.24 k allocs: 0.0777 MB 1
Constitutive models/Visco-elastic ∂Ψu 1.36 k allocs: 0.0898 MB 1.36 k allocs: 0.0898 MB 1
Constitutive models/Visco-elastic ∂Ψuu 2.32 k allocs: 0.155 MB 2.32 k allocs: 0.155 MB 1
Simulations/StaticMechanicalDirichlet 1.51 M allocs: 0.109 GB 1.51 M allocs: 0.109 GB 1
Simulations/StaticMechanicalNeumann 1.48 M allocs: 0.0933 GB 1.48 M allocs: 0.0933 GB 1
Simulations/ViscoElastic 0.343 G allocs: 22 GB 0.343 G allocs: 22 GB 1
Tensor algebra/Cofactor 1 allocs: 0.0781 kB 1 allocs: 0.0781 kB 1
Tensor algebra/Det(A)Inv(A') 4 allocs: 0.25 kB 4 allocs: 0.25 kB 1
Tensor algebra/δδ_λ_2d 0 allocs: 0 B 0 allocs: 0 B
Tensor algebra/δδ_μ_2d 0 allocs: 0 B 0 allocs: 0 B
time_to_load 0.141 k allocs: 10.8 kB 0.141 k allocs: 10.8 kB 1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant