Skip to content

Commit 31e3d56

Browse files
patrickersingranochaandrewwinters5000
authored
Move SWEs to TrixiShallowWater.jl (#2379)
* remove shallow water equations * apply formatter * add docstrings to the functions that are shared between subpackages * add additional tests for TreeMesh * move empty exported fluxes from equations.jl to numerical_fluxes.jl * add news item * add elixir_mhd_onion.jl and corresponding test for UnstructuredMesh2D * add unit_test for lake_at_rest_error * remove todo note * replace swe elixir in benchmarks.jl with euler_quasi_1d * Update NEWS.md Co-authored-by: Hendrik Ranocha <[email protected]> * modify docstrings for empty interface functions * Apply suggestions from code review Co-authored-by: Hendrik Ranocha <[email protected]> --------- Co-authored-by: Hendrik Ranocha <[email protected]> Co-authored-by: Andrew Winters <[email protected]>
1 parent 2fc0a47 commit 31e3d56

File tree

56 files changed

+396
-6161
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

56 files changed

+396
-6161
lines changed

NEWS.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,16 @@ Trixi.jl follows the interpretation of
55
used in the Julia ecosystem. Notable changes will be documented in this file
66
for human readability.
77

8+
## Changes when updating to v0.12 from v0.11.x
9+
10+
#### Added
11+
12+
#### Changed
13+
14+
#### Deprecated
15+
16+
#### Removed
17+
- The shallow-water equation types `ShallowWaterEquations1D`, `ShallowWaterEquations2D`, and `ShallowWaterEquationsQuasi1D` have been removed from Trixi.jl and are now available via [TrixiShallowWater.jl](https://github.com/trixi-framework/TrixiShallowWater.jl/). This also affects the related functions `hydrostatic_reconstruction_audusse_etal`, `flux_nonconservative_audusse_etal`, and `FluxHydrostaticReconstruction`. ([#2379])
818

919
## Changes in the v0.11 lifecycle
1020

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ installation and postprocessing procedures. Its features include:
5858
* Linearized Euler and acoustic perturbation equations
5959
* Hyperbolic diffusion equations for elliptic problems
6060
* Lattice-Boltzmann equations (D2Q9 and D3Q27 schemes)
61-
* Shallow water equations
61+
* Shallow water equations via [TrixiShallowWater.jl](https://github.com/trixi-framework/TrixiShallowWater.jl)
6262
* Several scalar conservation laws (e.g., linear advection, Burgers' equation, LWR traffic flow)
6363
* Multi-physics simulations
6464
* [Self-gravitating gas dynamics](https://github.com/trixi-framework/paper-self-gravitating-gas-dynamics)

benchmark/benchmarks.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ for elixir in [# 1D
1414
joinpath(examples_dir(), "structured_1d_dgsem", "elixir_euler_sedov.jl"),
1515
joinpath(examples_dir(), "tree_1d_dgsem", "elixir_mhd_ec.jl"),
1616
joinpath(examples_dir(), "tree_1d_dgsem", "elixir_navierstokes_convergence_walls_amr.jl"),
17-
joinpath(examples_dir(), "tree_1d_dgsem", "elixir_shallowwater_well_balanced_nonperiodic.jl"),
17+
joinpath(examples_dir(), "tree_1d_dgsem", "elixir_euler_quasi_1d_source_terms_dirichlet.jl"),
1818
# 2D
1919
joinpath(examples_dir(), "tree_2d_dgsem", "elixir_advection_extended.jl"),
2020
joinpath(examples_dir(), "tree_2d_dgsem", "elixir_advection_amr_nonperiodic.jl"),

docs/src/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ installation and postprocessing procedures. Its features include:
5353
* Linearized Euler and acoustic perturbation equations
5454
* Hyperbolic diffusion equations for elliptic problems
5555
* Lattice-Boltzmann equations (D2Q9 and D3Q27 schemes)
56-
* Shallow water equations
56+
* Shallow water equations via [TrixiShallowWater.jl](https://github.com/trixi-framework/TrixiShallowWater.jl)
5757
* Several scalar conservation laws (e.g., linear advection, Burgers' equation, LWR traffic flow)
5858
* Multi-physics simulations
5959
* [Self-gravitating gas dynamics](https://github.com/trixi-framework/paper-self-gravitating-gas-dynamics)

docs/src/overview.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ different features on different mesh types.
5959
| Weak form | ✅ | ✅ | ✅ | ✅ | ✅ | [`VolumeIntegralWeakForm`](@ref)
6060
| Flux differencing | ✅ | ✅ | ✅ | ✅ | ✅ | [`VolumeIntegralFluxDifferencing`](@ref)
6161
| Shock capturing | ✅ | ✅ | ✅ | ✅ | ❌ | [`VolumeIntegralShockCapturingHG`](@ref)
62-
| Nonconservative equations | ✅ | ✅ | ✅ | ✅ | ✅ | e.g., GLM MHD or shallow water equations
62+
| Nonconservative equations | ✅ | ✅ | ✅ | ✅ | ✅ | e.g., [`IdealGlmMhdEquations2D`](@ref)
6363
| Parabolic terms | ✅ | ❌ | ❌ | ✅ | ✅ | e.g., [`CompressibleNavierStokesDiffusion2D`](@ref)
6464

6565
ᵃ: quad = quadrilateral, hex = hexahedron

examples/dgmulti_1d/elixir_shallow_water_quasi_1d.jl

Lines changed: 0 additions & 48 deletions
This file was deleted.

examples/dgmulti_2d/elixir_shallowwater_source_terms.jl

Lines changed: 0 additions & 45 deletions
This file was deleted.

examples/p4est_2d_dgsem/elixir_shallowwater_source_terms.jl

Lines changed: 0 additions & 60 deletions
This file was deleted.

examples/structured_2d_dgsem/elixir_shallowwater_well_balanced.jl

Lines changed: 0 additions & 120 deletions
This file was deleted.

examples/t8code_2d_dgsem/elixir_shallowwater_source_terms.jl

Lines changed: 0 additions & 60 deletions
This file was deleted.

0 commit comments

Comments
 (0)