Skip to content

Conversation

@miguelmaso
Copy link
Collaborator

The anisotropic electro-visco-elastic model was unable to run, because a multiple wrong dispatch.

The load factor Λ must be passed to the kinematics F instead of the constitutive model.

Changes

  • Removed Λ from the _getCoupling call

No clue how was it working without this fix...

@miguelmaso miguelmaso requested a review from jmartfrut January 15, 2026 11:44
@miguelmaso miguelmaso added the bug Something isn't working label Jan 15, 2026
@github-actions
Copy link

Benchmark Results (Julia v1)

Time benchmarks
main b6f14b0... main / b6f14b0...
Constitutive models/Visco-elastic Ψ 0.0492 ± 0.028 ms 0.049 ± 0.027 ms 1 ± 0.79
Constitutive models/Visco-elastic ∂Ψu 0.0645 ± 0.0042 ms 0.0644 ± 0.013 ms 1 ± 0.21
Constitutive models/Visco-elastic ∂Ψuu 0.114 ± 0.017 ms 0.113 ± 0.014 ms 1.01 ± 0.2
Simulations/StaticMechanicalDirichlet 0.143 ± 0.0073 s 0.146 ± 0.01 s 0.985 ± 0.087
Simulations/StaticMechanicalNeumann 0.13 ± 0.014 s 0.13 ± 0.014 s 1 ± 0.15
Simulations/ViscoElastic 20.8 s 21.1 s 0.985
Tensor algebra/Cofactor 0.061 ± 0.01 μs 0.07 ± 0.01 μs 0.871 ± 0.19
Tensor algebra/Det(A)Inv(A') 0.13 ± 0.01 μs 0.13 ± 0.01 μs 1 ± 0.11
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 2.44 ± 0.0067 s 2.48 ± 0.0076 s 0.982 ± 0.004
Memory benchmarks
main b6f14b0... main / b6f14b0...
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.61 M allocs: 0.115 GB 1.61 M allocs: 0.115 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.149 k allocs: 11.1 kB 0.149 k allocs: 11.1 kB 1

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

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants