mirror of
https://github.com/JuliaFEM/JuliaFEM.jl.git
synced 2026-08-06 04:21:33 +00:00
e64ab2df55
- JuliaFEMCUDAExt package extension (loaded with 'using CUDA') - ElasticityDataGPU: All data on device (nodes, elements, BCs, node-to-elem map) - initialize_gpu_data!() transfers Physics to GPU with renumbering - nodal_assembly_kernel!() computes stiffness 3×3 blocks per node - compute_element_stresses_kernel!() element-level stress computation - apply_surface_traction_kernel!() Neumann BC on surfaces - apply_dirichlet_kernel!() penalty method for essential BCs - cg_solve_matfree_gpu!() matrix-free CG solver - solve_newton_krylov_gpu!() inexact Newton with GMRES-style restart - initialize_backend(::GPU) and solve_backend!() dispatch methods - 934 lines: Pure GPU implementation with zero CPU-GPU transfers during solve