Skip to content

Commit

Permalink
Remove default FaceIndex in BCValues constructor (#1126)
Browse files Browse the repository at this point in the history
  • Loading branch information
KnutAM authored Jan 10, 2025
1 parent 951ec47 commit 907c8c9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/FEValues/FacetValues.jl
Original file line number Diff line number Diff line change
Expand Up @@ -186,10 +186,10 @@ mutable struct BCValues{T}
current_entity::Int
end

BCValues(func_interpol::Interpolation, geom_interpol::Interpolation, boundary_type::Type{<:BoundaryIndex} = FaceIndex) =
BCValues(func_interpol::Interpolation, geom_interpol::Interpolation, boundary_type::Type{<:BoundaryIndex}) =
BCValues(Float64, func_interpol, geom_interpol, boundary_type)

function BCValues(::Type{T}, func_interpol::Interpolation{refshape}, geom_interpol::Interpolation{refshape}, boundary_type::Type{<:BoundaryIndex} = FaceIndex) where {T, dim, refshape <: AbstractRefShape{dim}}
function BCValues(::Type{T}, func_interpol::Interpolation{refshape}, geom_interpol::Interpolation{refshape}, boundary_type::Type{<:BoundaryIndex}) where {T, dim, refshape <: AbstractRefShape{dim}}
# set up quadrature rules for each boundary entity with dof-positions
# (determined by func_interpol) as the quadrature points
interpolation_coords = reference_coordinates(func_interpol)
Expand Down

0 comments on commit 907c8c9

Please sign in to comment.