Open jvaara opened 5 years ago
How to reproduce:
Update a value to integration point update!(ip, variable, time => value), where value <: AbstractTensor. typeof(value) [ Info: Tensors.SymmetricTensor{2,3,Float64,6}
update!(ip, variable, time => value)
value <: AbstractTensor
typeof(value)
[ Info: Tensors.SymmetricTensor{2,3,Float64,6}
Check the realized type typeof(ip(variable, time)) [ Info: Array{Float64,2}
typeof(ip(variable, time))
[ Info: Array{Float64,2}
julia> update!(element, 0.0 => data) ERROR: MethodError: no method matching update!(::Element{Seg2}, ::Pair{Float64,Tensor{1,3,Int64,3}})
I cannot even update the field.
How to reproduce:
Update a value to integration point
update!(ip, variable, time => value)
, wherevalue <: AbstractTensor
.typeof(value)
[ Info: Tensors.SymmetricTensor{2,3,Float64,6}
Check the realized type
typeof(ip(variable, time))
[ Info: Array{Float64,2}