mirror of
https://github.com/JuliaFEM/JuliaFEM.jl.git
synced 2026-08-06 04:21:33 +00:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user