Skip to content

Commit

Permalink
Remove default FaceIndex in BCValues constructor
Browse files Browse the repository at this point in the history
  • Loading branch information
KnutAM committed Jan 7, 2025
1 parent b8f986a commit 3be79a6
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}) =

Check warning on line 189 in src/FEValues/FacetValues.jl

View check run for this annotation

Codecov / codecov/patch

src/FEValues/FacetValues.jl#L189

Added line #L189 was not covered by tests
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}}

Check warning on line 192 in src/FEValues/FacetValues.jl

View check run for this annotation

Codecov / codecov/patch

src/FEValues/FacetValues.jl#L192

Added line #L192 was not covered by tests
# 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 3be79a6

Please sign in to comment.