mirror of
https://github.com/JuliaFEM/JuliaFEM.jl.git
synced 2026-09-23 02:59:52 +00:00
3b4a028fec
New 286-line test file for GlobalMaterialCache system: - Tests state type inference from material traits - Tests zero state creation for empty, tensor, scalar, and mixed states - Tests MaterialCache construction for stateless and stateful materials - Tests state access functions (get_state, get_old_state, set_state!) - Tests update_cache! for time stepping (copying current to old) - Tests reset_cache! for zeroing all states - Tests state variable helpers (get_state_variable, set_state_variable) - Validates type stability of cache operations - Tests integration with material traits Essential for stateful material models requiring history-dependent behavior.