Skip to content

New sub-module: DiscreteModeling#156

Open
miguelmaso wants to merge 8 commits into
mainfrom
descript
Open

New sub-module: DiscreteModeling#156
miguelmaso wants to merge 8 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 323f948... main / 323f948...
Constitutive models/Visco-elastic Ψ 0.0549 ± 0.033 ms 0.0553 ± 0.033 ms 0.994 ± 0.85
Constitutive models/Visco-elastic ∂Ψu 0.0609 ± 0.0028 ms 0.061 ± 0.0026 ms 0.999 ± 0.062
Constitutive models/Visco-elastic ∂Ψuu 0.112 ± 0.017 ms 0.112 ± 0.017 ms 1.01 ± 0.21
Simulations/StaticMechanicalDirichlet 0.144 ± 0.016 s 0.14 ± 0.019 s 1.03 ± 0.18
Simulations/StaticMechanicalNeumann 0.135 ± 0.018 s 0.134 ± 0.016 s 1.01 ± 0.18
Simulations/ViscoElastic 21 s 20.5 s 1.03
Tensor algebra/Cofactor 0.07 ± 0.01 μs 0.07 ± 0.009 μs 1 ± 0.19
Tensor algebra/Det(A)Inv(A') 0.12 ± 0.01 μs 0.111 ± 0.01 μs 1.08 ± 0.13
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 3.12 ± 0.022 s 2.99 ± 0.017 s 1.04 ± 0.0094
Memory benchmarks
main 323f948... main / 323f948...
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