test(continuum): drop unused create_material_state helper

Stateful initialization now flows through `GlobalMaterialCache` construction in
the individual tests, so the placeholder helper only duplicated errors.

- Remove `create_material_state` and its docstring from shared continuum helpers.
This commit is contained in:
Jukka Aho
2026-05-09 18:45:02 +03:00
parent 041e0d519d
commit e1d46340db
-15
View File
@@ -51,18 +51,3 @@ function create_test_kernel()
return kernel
end
"""
create_material_state(kernel::AbstractKernel, mesh::AbstractMesh)
Create initial material state for all elements (for stateless materials, returns nothing).
"""
function create_material_state(kernel::AbstractKernel, mesh::AbstractMesh)
# For stateless materials (LinearElastic, NeoHookean), state is nothing
if !needs_state(kernel.material)
return nothing
end
# For stateful materials, initialize state per element
# This would need to be implemented for plasticity tests
error("Stateful material state initialization not yet implemented")
end