mirror of
https://github.com/JuliaFEM/JuliaFEM.jl.git
synced 2026-09-18 09:41:31 +00:00
heat problem
This commit is contained in:
@@ -100,3 +100,11 @@ end
|
||||
@test isapprox(fb, 1.0)
|
||||
end
|
||||
|
||||
@testset "add two time dependent fields to element at once" begin
|
||||
el = Element(Seg2, [1, 2])
|
||||
update!(el, "foo1", 1.0 => 1.0)
|
||||
update!(el, "foo1", 2.0 => 2.0)
|
||||
update!(el, "foo2", 1.0 => 1.0, 2.0 => 2.0)
|
||||
@test isapprox(el("foo1", 1.5), el("foo2", 1.5))
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user