Skip to content

Conversation

@jmartfrut
Copy link
Collaborator

Implements a function to evolve the staggered time step.

This allows for non-linear time stepping in the staggered solver. Also, relaxes the final tolerance check to avoid premature convergence.

Implements a function to evolve the staggered time step.

This allows for non-linear time stepping in the staggered solver.
Also, relaxes the final tolerance check to avoid premature convergence.
@github-actions
Copy link

Benchmark Results (Julia v1)

Time benchmarks
main 8ec6e96... main / 8ec6e96...
Constitutive models/Visco-elastic Ψ 0.0494 ± 0.027 ms 0.0496 ± 0.027 ms 0.996 ± 0.77
Constitutive models/Visco-elastic ∂Ψu 0.0646 ± 0.0067 ms 0.0647 ± 0.0058 ms 0.999 ± 0.14
Constitutive models/Visco-elastic ∂Ψuu 0.114 ± 0.015 ms 0.113 ± 0.014 ms 1 ± 0.18
Simulations/StaticMechanicalDirichlet 0.142 ± 0.0073 s 0.133 ± 0.0068 s 1.07 ± 0.077
Simulations/StaticMechanicalNeumann 0.131 ± 0.011 s 0.129 ± 0.013 s 1.01 ± 0.13
Simulations/ViscoElastic 20.7 s 20.8 s 0.999
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.001 μs 1 ± 0.077
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.43 ± 0.0048 s 2.42 ± 0.021 s 1 ± 0.0088
Memory benchmarks
main 8ec6e96... main / 8ec6e96...
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.51 M allocs: 0.109 GB 1.06
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

@jmartfrut jmartfrut merged commit 55b6df2 into main Jan 16, 2026
4 checks passed
@jmartfrut jmartfrut deleted the stag_evoltau branch January 16, 2026 11:21
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.

2 participants