Skip to content

Commit b2d1c66

Browse files
committed
fix paraview visualization bug for bulk elements
1 parent 7769a13 commit b2d1c66

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/igashell_vtk.jl

+1-1
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ function _init_vtk_cell!(igashell::IGAShell{dim_p,dim_s}, cls, node_coords, cv,
9898

9999
#Shell layer
100100
VTK_CELL = (dim_s==2) ? Ferrite.VTKCellTypes.VTK_QUAD : Ferrite.VTKCellTypes.VTK_HEXAHEDRON
101-
nodeids = (dim_s==2) ? nodeids[[1,2,4,3]] : nodeids[[1,2,4,3,5,6,8,7]]
101+
nodeids = (dim_s==2) ? nodeids[[1,2,4,3]] : nodeids[[1,2,3,4,5,6,7,8]]
102102
push!(cls, MeshCell(VTK_CELL, nodeids .+ node_offset .+ (ilay-1)*n_plot_points))
103103

104104
end

0 commit comments

Comments
 (0)