Skip to content

New sub-module: DiscreteModeling#156

Merged
miguelmaso merged 9 commits into
mainfrom
descript
Jun 5, 2026
Merged

New sub-module: DiscreteModeling#156
miguelmaso merged 9 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 aebb89a... main / aebb89a...
Constitutive models/Visco-elastic Ψ 0.0539 ± 0.033 ms 0.0543 ± 0.033 ms 0.993 ± 0.86
Constitutive models/Visco-elastic ∂Ψu 0.0595 ± 0.0023 ms 0.0602 ± 0.0026 ms 0.989 ± 0.057
Constitutive models/Visco-elastic ∂Ψuu 0.11 ± 0.016 ms 0.111 ± 0.012 ms 0.997 ± 0.18
Simulations/StaticMechanicalDirichlet 0.143 ± 0.017 s 0.139 ± 0.011 s 1.03 ± 0.15
Simulations/StaticMechanicalNeumann 0.131 ± 0.017 s 0.133 ± 0.02 s 0.985 ± 0.19
Simulations/ViscoElastic 20.1 s 20.4 s 0.988
Tensor algebra/Cofactor 0.07 ± 0.01 μs 0.07 ± 0.01 μs 1 ± 0.2
Tensor algebra/Det(A)Inv(A') 0.12 ± 0.011 μs 0.12 ± 0.011 μs 1 ± 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.04 ± 0.039 s 3.04 ± 0.027 s 1 ± 0.016
Memory benchmarks
main aebb89a... main / aebb89a...
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.0927 GB 1.48 M allocs: 0.0927 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

@miguelmaso miguelmaso merged commit 0615b90 into main Jun 5, 2026
4 checks passed
@miguelmaso miguelmaso deleted the descript branch June 5, 2026 11:06
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