Skip to content

Commit

Permalink
remove unneccessary visible function
Browse files Browse the repository at this point in the history
  • Loading branch information
koehlerson committed Mar 23, 2023
1 parent 3e4adcd commit a5a2c45
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/utils.jl
Original file line number Diff line number Diff line change
Expand Up @@ -93,9 +93,6 @@ function MakiePlotter(dh::Ferrite.AbstractDofHandler, u::Vector, topology::TOP)
end
MakiePlotter(dh,u) = MakiePlotter(dh,u,Ferrite.getdim(dh.grid) > 2 ? Ferrite.ExclusiveTopology(dh.grid.cells) : nothing)

# triangle_to_cell -> visible -> triangle access
visible(plotter::MakiePlotter{3}) = @views plotter.triangles[plotter.visible[plotter.triangle_cell_map],:]

"""
Clip plane described by the normal and its distance to the coordinate origin.
"""
Expand Down

0 comments on commit a5a2c45

Please sign in to comment.