JuliaFEM / FEMBase.jl

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

Have two set of fields #55

Closed ahojukka5 closed 4 years ago

ahojukka5 commented 5 years ago

This PR introduces a new type of set of fields, which must be defined and initialized when creating a new element. Closes issue #47. It is now well-known that the use of Dict{String,AbstractField}, where fields are dynamically defined during the simulation, leads to type instability problems. Problem is solved by having two kinds of fields in the element, let's call them sfields and dfields, where the dfields is the old implementation and sfields is the new one.