Skip to content

Commit

Permalink
Update comments for some DGSEM APIs (#2238)
Browse files Browse the repository at this point in the history
* Update

* Add
  • Loading branch information
huiyuxie authored Jan 17, 2025
1 parent 9893b73 commit fdd22a8
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions src/solvers/dgsem/dgsem.jl
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ Create a discontinuous Galerkin spectral element method (DGSEM) using a
"""
const DGSEM = DG{Basis} where {Basis <: LobattoLegendreBasis}

# TODO: Deprecated in v0.3 (no longer documented)
# This API is no longer documented, and we recommend avoiding its public use.
function DGSEM(basis::LobattoLegendreBasis,
surface_flux = flux_central,
volume_integral = VolumeIntegralWeakForm(),
Expand All @@ -32,7 +32,7 @@ function DGSEM(basis::LobattoLegendreBasis,
typeof(volume_integral)}(basis, mortar, surface_integral, volume_integral)
end

# TODO: Deprecated in v0.3 (no longer documented)
# This API is no longer documented, and we recommend avoiding its public use.
function DGSEM(basis::LobattoLegendreBasis,
surface_integral::AbstractSurfaceIntegral,
volume_integral = VolumeIntegralWeakForm(),
Expand All @@ -41,7 +41,7 @@ function DGSEM(basis::LobattoLegendreBasis,
typeof(volume_integral)}(basis, mortar, surface_integral, volume_integral)
end

# TODO: Deprecated in v0.3 (no longer documented)
# This API is no longer documented, and we recommend avoiding its public use.
function DGSEM(RealT, polydeg::Integer,
surface_flux = flux_central,
volume_integral = VolumeIntegralWeakForm(),
Expand All @@ -51,6 +51,7 @@ function DGSEM(RealT, polydeg::Integer,
return DGSEM(basis, surface_flux, volume_integral, mortar)
end

# This API is no longer documented, and we recommend avoiding its public use.
function DGSEM(polydeg, surface_flux = flux_central,
volume_integral = VolumeIntegralWeakForm())
DGSEM(Float64, polydeg, surface_flux, volume_integral)
Expand Down

0 comments on commit fdd22a8

Please sign in to comment.