ahojukka5 on fix_16
ahojukka5 on master
Read med file exported from Gms… (compare)
ahojukka5 on fix_16
Read med file exported from Gms… (compare)
@TeroFrondelius The bindings are not documented yet, so you have to rely on the bindings sources. In the bindings/julia/src/Behaviour.cxx
file, you have the following lines:
m.add_type<Behaviour>("Behaviour")
...
.method("get_parameters", [](const Behaviour &b) { return b.params; });
As you see, I have wrapped a get_parameters methods which returns an array containing the name of all parameters.
okay, we've commented out the timing problem, which led to the real issue:
UndefVarError: get_quadrature_points not defined
get_integration_points(::Problem{Beam}, ::Element{Seg2}) at beam3d.jl:16
assemble_elements!(::Problem{Beam}, ::Assembly, ::Array{Element{Seg2},1}, ::Float64) at beam3d.jl:78
assemble!(::Problem{Beam}, ::Float64) at assembly.jl:85...
so, the problem is that there is no longer on overload to the function FEMBase.get_quadrature_points that takes the one argument. this is line 16 of beam3d.jl.
Any ideas how to fix? It is clearly not in the example file, but rather deeper in the library.
julia> using JuliaFEM
[ Info: Recompiling stale cache file /Users/mrapo/.julia/compiled/v1.0/JuliaFEM/JKouA.ji for JuliaFEM [f80590ac-b429-510a-8a99-e7c46989f22d]
WARNING: using FEMBasis.interpolate in module FEMBase conflicts with an existing identifier.
WARNING: could not import Base.start into JuliaFEM
WARNING: could not import Base.next into JuliaFEM
WARNING: could not import Base.done into JuliaFEM
WARNING: could not import Base.endof into JuliaFEM
get_quadrature_points
to show up when JuliaFEM is used as it should, but the same issue is still happening (Julia crashes at the run!
statement). So now I'm trying to locate where the issue is rising from. I wrote a question to Julia discourse: https://discourse.julialang.org/t/prints-wont-show-up-when-debugging-a-function/27105