mirror of
https://github.com/JuliaFEM/JuliaFEM.jl.git
synced 2026-09-11 06:08:07 +00:00
aabca484a3
The refactor exposes in-place `get_*_vector(workspace, buf)` overloads; exercise them beside the allocating helpers and keep allocation probes on pre-filled buffers. - Assert buffer aliases and equality against freshly extracted vectors. - Replace generic `get_field` probes with direct NamedTuple field access.
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/.