mirror of
https://github.com/JuliaFEM/JuliaFEM.jl.git
synced 2026-09-25 19:36:58 +00:00
Remove functions used rarely
A new problem can be defined with 8(!) different styles. Let's remove the ones not used often.
This commit is contained in:
@@ -6,7 +6,7 @@ using JuliaFEM.Testing
|
||||
|
||||
@testset "test initialize scalar field problem" begin
|
||||
el = Element(Seg2, [1, 2])
|
||||
pr = Problem(Heat, 1)
|
||||
pr = Problem(Heat, "heat problem", 1)
|
||||
push!(pr, el)
|
||||
initialize!(pr)
|
||||
@test haskey(el, "temperature")
|
||||
@@ -19,7 +19,7 @@ end
|
||||
|
||||
@testset "test initialize vector field problem" begin
|
||||
el = Element(Seg2, [1, 2])
|
||||
pr = Problem(Elasticity, 2)
|
||||
pr = Problem(Elasticity, "elasticity problem", 2)
|
||||
push!(pr, el)
|
||||
initialize!(pr)
|
||||
@test haskey(el, "displacement")
|
||||
|
||||
Reference in New Issue
Block a user