Ferrite.jl
Ferrite.jl copied to clipboard
Export of super parametric elements
I don't think it works :trollface:.
julia> grid = generate_grid(QuadraticTriangle, (5, 5));
julia> dh = DofHandler(grid);
julia> push!(dh, :u, 1, Lagrange{2,RefTetrahedron,1}());
julia> close!(dh);
julia> u = collect(1:ndofs(dh));
julia> vtk = vtk_grid("test", grid);
julia> vtk_point_data(vtk, dh, u);
ERROR: BoundsError: attempt to access 3-element Array{Int64,1} at index [4]
Stacktrace:
Always just export it as linear?
Yes, or if both fields are quadratic I guess we can export that