JuliaFEM / FEMBase.jl

JuliaFEM base package (core functionality)
http://juliafem.org/
MIT License
16 stars 9 forks source link

Fields converting Tensor variables to Arrays #57

Open jvaara opened 5 years ago

jvaara commented 5 years ago

How to reproduce:

  1. Update a value to integration point update!(ip, variable, time => value), where value <: AbstractTensor. typeof(value) [ Info: Tensors.SymmetricTensor{2,3,Float64,6}

  2. Check the realized type typeof(ip(variable, time)) [ Info: Array{Float64,2}

ahojukka5 commented 5 years ago
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.