mirror of
https://github.com/JuliaFEM/JuliaFEM.jl.git
synced 2026-08-06 04:21:33 +00:00
2502707f10
Add one representative model per `material_behavior` kind so refactors to traits cannot silently orphan newly added constitutive laws. - Cover constant tangents (elastic/thermal/hydraulic/moisture/diffusion/orthotropic). - Cover hyperelastic, plasticity, damage, Chaboche, creep, and eigenstrain-augmented elasticity.
test/materials/
Tests for the material trait system and the material/assembly cache machinery used by the DOF-based assembler.
What is here
State-variable and trait infrastructure:
test_state_variables.jltest_traits.jl
Material cache and assembly workspace, including the zero-allocation contract that the cantilever bench locks in:
test_global_material_cache.jltest_assembly_workspace_refactor.jltest_cantilever_material_cache_zero_allocations.jl
End-to-end material-driven assembly:
test_plasticity_integration.jl
All files in this directory are wired into test/runtests.jl and run
on every Pkg.test().
Related
- Source:
src/materials/. - Concrete model unit tests (
test_linear_elastic,test_neo_hookean,test_perfect_plasticity,test_finite_strain_plasticity) and the_new_api.jlconstitutive specifications were moved tollm/design/legacy-tests/materials/because they target removed APIs. The materials roadmap lives atllm/design/materials-tdd/.