mirror of
https://github.com/JuliaFEM/JuliaFEM.jl.git
synced 2026-08-17 19:09:04 +00:00
c3cda77f08
Enhanced academic_example.jl to compute actual solution: - Construct explicit 5×5 Laplacian system (tridiagonal stiffness matrix) - Solve K * u = f directly to get solution vector - Verify solution with residual check (||K*u - f|| < 1e-15) - Display solution: u = [-2.5, -4.0, -4.5, -4.0, -2.5] This fully demonstrates Issue #183 requirement (c): extract matrices and get solution vector for use with external solvers. Added imports: LinearAlgebra, SparseArrays Changes: 211 lines → 256 lines (actual working solver)