Skip to content

New sub-module: DiscreteModeling#156

Open
miguelmaso wants to merge 6 commits into
mainfrom
descript
Open

New sub-module: DiscreteModeling#156
miguelmaso wants to merge 6 commits into
mainfrom
descript

Conversation

@miguelmaso
Copy link
Copy Markdown
Collaborator

@miguelmaso miguelmaso commented May 21, 2026

Helper functions have been moved to this module, to avoid messing-up the ComputationalModels.
Theese functions are not a computational model because does not involve weak forms, neither solvers.

  • Moved EvolutionFunctions to DiscreteModeling
  • Moved CartesianTags to DiscreteModeling
  • Moved FaceLabeling to DiscreteModeling
  • Added MeshDescriptor to DiscreteModeling

Superseedes #154

@miguelmaso miguelmaso changed the title New sub-module: **DiscreteModeling** New sub-module: DiscreteModeling May 21, 2026
@github-actions
Copy link
Copy Markdown

github-actions Bot commented May 21, 2026

Benchmark Results (Julia v1)

Time benchmarks
main efd5e36... main / efd5e36...
Constitutive models/Visco-elastic Ψ 0.0489 ± 0.03 ms 0.0482 ± 0.03 ms 1.02 ± 0.88
Constitutive models/Visco-elastic ∂Ψu 0.0548 ± 0.0024 ms 0.0547 ± 0.002 ms 1 ± 0.057
Constitutive models/Visco-elastic ∂Ψuu 0.104 ± 0.019 ms 0.102 ± 0.017 ms 1.02 ± 0.25
Simulations/StaticMechanicalDirichlet 0.136 ± 0.0081 s 0.137 ± 0.0078 s 0.998 ± 0.083
Simulations/StaticMechanicalNeumann 0.133 ± 0.015 s 0.131 ± 0.011 s 1.02 ± 0.15
Simulations/ViscoElastic 19.1 s 18.6 s 1.03
Tensor algebra/Cofactor 0.06 ± 0.01 μs 0.06 ± 0.01 μs 1 ± 0.24
Tensor algebra/Det(A)Inv(A') 0.12 ± 0.089 μs 0.121 ± 0.03 μs 0.992 ± 0.78
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.75 ± 0.022 s 2.79 ± 0.017 s 0.989 ± 0.0099
Memory benchmarks
main efd5e36... main / efd5e36...
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.29 k allocs: 0.0826 MB 1.29 k allocs: 0.0826 MB 1
Constitutive models/Visco-elastic ∂Ψuu 2.25 k allocs: 0.149 MB 2.25 k allocs: 0.149 MB 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.093 GB 1.48 M allocs: 0.093 GB 1
Simulations/ViscoElastic 0.327 G allocs: 20.6 GB 0.327 G allocs: 20.6 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

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant