Skip to content

Commit

Permalink
redirect nnodes_per_cell(dh, cell) to grid
Browse files Browse the repository at this point in the history
  • Loading branch information
kimauth authored and fredrikekre committed Mar 21, 2023
1 parent 43bd67e commit aac45c1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Dofs/MixedDofHandler.jl
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ Return the number of degrees of freedom for the cell with index `cell`.
See also [`ndofs`](@ref).
"""
ndofs_per_cell(dh::MixedDofHandler, cell::Int=1) = dh.cell_dofs.length[cell]
nnodes_per_cell(dh::MixedDofHandler, cell::Int=1) = dh.cell_nodes.length[cell]
nnodes_per_cell(dh::MixedDofHandler, cell::Int=1) = nnodes_per_cell(dh.grid, cell) # TODO: deprecate, shouldn't belong to MixedDofHandler any longer

"""
celldofs!(global_dofs::Vector{Int}, dh::AbstractDofHandler, i::Int)
Expand Down

0 comments on commit aac45c1

Please sign in to comment.