Skip to content

Commit 49d3cd2

Browse files
jlchanranocha
authored andcommitted
Deprecate some DGMultiMesh constructors (#1709)
* remove previously deprecated functions * fix typo in NEWS.md about deprecation vs removal * fix literate tutorial * removing other deprecation * format * Revert "fix typo in NEWS.md about deprecation vs removal" This reverts commit 6b03020.
1 parent a0f0f3a commit 49d3cd2

File tree

2 files changed

+1
-13
lines changed

2 files changed

+1
-13
lines changed

docs/literate/src/files/DGMulti_1.jl

+1-1
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,7 @@ meshIO = StartUpDG.triangulate_domain(StartUpDG.RectangularDomainWithHole());
168168

169169
# The pre-defined Triangulate geometry in StartUpDG has integer boundary tags. With [`DGMultiMesh`](@ref)
170170
# we assign boundary faces based on these integer boundary tags and create a mesh compatible with Trixi.jl.
171-
mesh = DGMultiMesh(meshIO, dg, Dict(:outer_boundary=>1, :inner_boundary=>2))
171+
mesh = DGMultiMesh(dg, meshIO, Dict(:outer_boundary=>1, :inner_boundary=>2))
172172
#-
173173
boundary_condition_convergence_test = BoundaryConditionDirichlet(initial_condition)
174174
boundary_conditions = (; :outer_boundary => boundary_condition_convergence_test,

src/solvers/dgmulti/types.jl

-12
Original file line numberDiff line numberDiff line change
@@ -433,15 +433,3 @@ function LinearAlgebra.mul!(b_in, A_kronecker::SimpleKronecker{3}, x_in)
433433
return nothing
434434
end
435435
end # @muladd
436-
437-
# TODO: deprecations introduced in Trixi.jl v0.6
438-
@deprecate DGMultiMesh(dg::DGMulti{NDIMS}; cells_per_dimension, kwargs...) where {NDIMS} DGMultiMesh(dg,
439-
cells_per_dimension;
440-
kwargs...)
441-
442-
# TODO: deprecations introduced in Trixi.jl v0.5
443-
@deprecate DGMultiMesh(vertex_coordinates, EToV, dg::DGMulti{NDIMS};
444-
kwargs...) where {NDIMS} DGMultiMesh(dg, vertex_coordinates, EToV;
445-
kwargs...)
446-
@deprecate DGMultiMesh(triangulateIO, dg::DGMulti{2, Tri}, boundary_dict::Dict{Symbol, Int};
447-
kwargs...) DGMultiMesh(dg, triangulateIO, boundary_dict; kwargs...)

0 commit comments

Comments
 (0)