Skip to content

Fixed L2_projection mapping - #228

Merged
miguelmaso merged 1 commit into
mainfrom
fix-mapping
Aug 27, 2026
Merged

Fixed L2_projection mapping#228
miguelmaso merged 1 commit into
mainfrom
fix-mapping

Conversation

@miguelmaso

Copy link
Copy Markdown
Collaborator

No description provided.

@github-actions

Copy link
Copy Markdown

Benchmark Results (Julia v1)

Time benchmarks
main df0bed0... main / df0bed0...
Constitutive models/Visco-elastic Ψ 24.9 ± 13 μs 24.5 ± 13 μs 1.02 ± 0.76
Constitutive models/Visco-elastic ∂Ψ∂F 29.6 ± 13 μs 29.3 ± 13 μs 1.01 ± 0.63
Constitutive models/Visco-elastic ∂∂Ψ∂FF 0.0616 ± 0.024 ms 0.0611 ± 0.024 ms 1.01 ± 0.55
Constitutive models/Visco-polyconvex Ψ 0.151 ± 0.002 μs 0.151 ± 0.003 μs 1 ± 0.024
Constitutive models/Visco-polyconvex ∂Ψ∂F 0.17 ± 0.003 μs 0.17 ± 0.003 μs 1 ± 0.025
Constitutive models/Visco-polyconvex ∂∂Ψ∂FF 7.83 ± 4.5 μs 7.77 ± 4.4 μs 1.01 ± 0.81
Simulations/StaticMechanicalDirichlet 0.139 ± 0.0068 s 0.137 ± 0.0088 s 1.01 ± 0.081
Simulations/StaticMechanicalNeumann 0.12 ± 0.016 s 0.12 ± 0.016 s 0.999 ± 0.19
Simulations/ViscoElastic 11.5 s 11.4 s 1.01
Tensor algebra/Cofactor 0.069 ± 0.003 μs 0.068 ± 0.002 μs 1.01 ± 0.053
Tensor algebra/Det(A)Inv(A') 0.098 ± 0.003 μs 0.098 ± 0.003 μs 1 ± 0.043
Tensor algebra/IIsym 0.063 ± 0.003 μs 0.062 ± 0.002 μs 1.02 ± 0.058
Tensor algebra/push_forward_C_to_F 0.207 ± 0.005 μs 0.2 ± 0.021 μs 1.03 ± 0.11
Tensor algebra/×ᵢ⁴ 0.055 ± 0.002 μs 0.066 ± 0.0013 μs 0.833 ± 0.034
Tensor algebra/δδ_λ_2d 24 ± 1 ns 24 ± 1 ns 1 ± 0.059
Tensor algebra/δδ_μ_2d 25 ± 1 ns 24 ± 2 ns 1.04 ± 0.096
time_to_load 2.4 ± 0.013 s 2.41 ± 0.0031 s 0.996 ± 0.0053
Memory benchmarks
main df0bed0... main / df0bed0...
Constitutive models/Visco-elastic Ψ 0.542 k allocs: 0.0443 MB 0.542 k allocs: 0.0443 MB 1
Constitutive models/Visco-elastic ∂Ψ∂F 0.593 k allocs: 0.0492 MB 0.593 k allocs: 0.0492 MB 1
Constitutive models/Visco-elastic ∂∂Ψ∂FF 1.05 k allocs: 0.0853 MB 1.05 k allocs: 0.0853 MB 1
Constitutive models/Visco-polyconvex Ψ 0 allocs: 0 B 0 allocs: 0 B
Constitutive models/Visco-polyconvex ∂Ψ∂F 0 allocs: 0 B 0 allocs: 0 B
Constitutive models/Visco-polyconvex ∂∂Ψ∂FF 0.187 k allocs: 15.2 kB 0.187 k allocs: 15.2 kB 1
Simulations/StaticMechanicalDirichlet 1.51 M allocs: 0.108 GB 1.51 M allocs: 0.108 GB 1
Simulations/StaticMechanicalNeumann 1.48 M allocs: 0.0927 GB 1.48 M allocs: 0.0927 GB 1
Simulations/ViscoElastic 0.162 G allocs: 12.8 GB 0.162 G allocs: 12.8 GB 1
Tensor algebra/Cofactor 2 allocs: 0.156 kB 2 allocs: 0.156 kB 1
Tensor algebra/Det(A)Inv(A') 4 allocs: 0.25 kB 4 allocs: 0.25 kB 1
Tensor algebra/IIsym 1 allocs: 0.656 kB 1 allocs: 0.656 kB 1
Tensor algebra/push_forward_C_to_F 1 allocs: 0.656 kB 1 allocs: 0.656 kB 1
Tensor algebra/×ᵢ⁴ 1 allocs: 0.656 kB 1 allocs: 0.656 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.149 k allocs: 11.1 kB 0.149 k allocs: 11.1 kB 1

@miguelmaso
miguelmaso merged commit 11ae73c into main Aug 27, 2026
1 of 4 checks passed
@miguelmaso
miguelmaso deleted the fix-mapping branch August 27, 2026 07:24
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