Skip to content

Commit

Permalink
Remove redundant methods (never called)
Browse files Browse the repository at this point in the history
  • Loading branch information
mikeingold committed Aug 30, 2024
1 parent a6f6b47 commit 078d54d
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 34 deletions.
17 changes: 0 additions & 17 deletions src/integral_surface.jl
Original file line number Diff line number Diff line change
Expand Up @@ -33,23 +33,6 @@ function _integral_2d(
return QuadGK.quadgk(v -> ∫₁(v), FP(0), FP(1); settings.kwargs...)[1]
end

function _integral_2d(
f,
geometry,
settings::HAdaptiveCubature,
)
return _integral(f, geometry, settings)
end

function _integral_2d(
f,
geometry,
settings::HAdaptiveCubature,
FP::Type{T}
) where {T<:AbstractFloat}
return _integral(f, geometry, settings, FP)
end


################################################################################
# Specialized Methods for ConeSurface, CylinderSurface, and FrustumSurface
Expand Down
17 changes: 0 additions & 17 deletions src/integral_volume.jl
Original file line number Diff line number Diff line change
Expand Up @@ -34,23 +34,6 @@ function _integral_3d(
error("Integrating this volume type with GaussKronrod not supported.")
end

function _integral_3d(
f,
geometry,
settings::HAdaptiveCubature,
)
return _integral(f, geometry, settings)
end

function _integral_3d(
f,
geometry,
settings::HAdaptiveCubature,
FP::Type{T}
) where {T<:AbstractFloat}
return _integral(f, geometry, settings, FP)
end


################################################################################
# Specialized Methods for Tetrahedron
Expand Down

0 comments on commit 078d54d

Please sign in to comment.