Skip to content

Commit

Permalink
Remove old vertexdof_indices method
Browse files Browse the repository at this point in the history
After #581 `vertexdof_indices` should return a tuple of tuples, but
since `length(::Int) == length(::Tuple{Int}) == 1` this old code worked
anyway. This patch removes the method to rely on the generic `Lagrange`
method instead.
  • Loading branch information
fredrikekre committed Apr 24, 2023
1 parent 32d2a58 commit 8efbf89
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/interpolations.jl
Original file line number Diff line number Diff line change
Expand Up @@ -502,8 +502,6 @@ const permdof2DLagrange2Tri345 = Dict{Int,Vector{Int}}(
5 => [6, 21, 1, 11, 15, 18, 20, 19, 16, 12, 7, 2, 3, 4, 5, 8, 9, 10, 13, 14, 17],
)

vertexdof_indices(::Lagrange2Tri345) = (1, 2, 3)

function facedof_indices(ip::Lagrange2Tri345)
order = getorder(ip)
order == 1 && return ((1,2), (2,3), (3,1))
Expand Down

0 comments on commit 8efbf89

Please sign in to comment.