mirror of
https://github.com/JuliaFEM/JuliaFEM.jl.git
synced 2026-09-28 04:35:08 +00:00
Fix deprecations (#206)
This commit is contained in:
committed by
Jukka Aho
parent
86fdc59f20
commit
a8a3e0b46e
@@ -10,11 +10,11 @@ function PlaneStressElasticityProblem(dim::Int=2, elements=[])
|
||||
return Problem{PlaneStressElasticityProblem}(dim, elements)
|
||||
end
|
||||
|
||||
function get_unknown_field_name{P<:PlaneStressElasticityProblem}(::Type{P})
|
||||
function get_unknown_field_name(::Type{P}) where P<:PlaneStressElasticityProblem
|
||||
return "displacement"
|
||||
end
|
||||
|
||||
function get_unknown_field_type{P<:PlaneStressElasticityProblem}(::Type{P})
|
||||
function get_unknown_field_type(::Type{P}) where P<:PlaneStressElasticityProblem
|
||||
return Vector{Float64}
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user