refactor: Remove Parameters.jl and TimerOutputs.jl usage

Changes:
- problems_elasticity.jl: Replaced Parameters.@with_kw and @unpack with manual code
- problems_heat.jl: Similar Parameters.jl removal
- solvers_modal.jl: Changed 'using Arpack' to 'import Arpack' (file commented out)

Added no-op @timeit macro in JuliaFEM.jl to replace TimerOutputs.

Result: Two fewer dependencies removed.
This commit is contained in:
Jukka Aho
2025-11-08 14:33:51 +02:00
parent 478e90bf70
commit 01f8d4afcd
3 changed files with 74 additions and 26 deletions
+3 -3
View File
@@ -73,13 +73,13 @@ function assemble_elements!(problem::Problem{PlaneHeat}, assembly::Assembly,
end
function assemble_elements!(problem::Problem{Heat}, assembly::Assembly,
elements::Vector{Element{M,B}}, time::Float64) where
{M,B<:Union{Tri3,Quad4,Tri6,Quad8,Quad9}}
elements::Vector{Element{M,B}}, time::Float64) where
{M,B<:Union{Tri3,Quad4,Tri6,Quad8,Quad9}}
return assemble_boundary_elements!(problem, assembly, elements, time)
end
function assemble_boundary_elements!(problem::Problem, assembly::Assembly,
elements::Vector{Element{M,B}}, time::Float64) where {M,B}
elements::Vector{Element{M,B}}, time::Float64) where {M,B}
bi = BasisInfo(B)
ndofs = length(bi)