ONSAS / ONSAS.jl

An Open Nonlinear Structural Analysis Solver in Julia
MIT License
7 stars 1 forks source link

Sparse Arrays API #421

Closed mvanzulli closed 1 year ago

mvanzulli commented 1 year ago

Closes #420. A comparisson against vtk branch (this branch is outdated with the master, hence the findall method still in use)

Not using findall

ID time GC time memory allocations
["uniaxial_compression", "solve, ms = 0.1, nelems = 9292, nnodes = 2147"] 260.118 ms (5%) 45.260 ms 557.27 MiB (1%) 1663593
["uniaxial_extension", "solve, ms = 0.1, nelems = 9292, nnodes = 2147"] 268.287 ms (5%) 33.422 ms 395.07 MiB (1%) 1459169

Using findall

ID time GC time memory allocations
["uniaxial_compression", "solve, ms = 0.1, nelems = 9292, nnodes = 2147"] 281.690 ms (5%) 30.078 ms 559.82 MiB (1%) 1663661
["uniaxial_extension", "solve, ms = 0.1, nelems = 9292, nnodes = 2147"] 282.470 ms (5%) 18.785 ms 397.62 MiB (1%) 1459237