Skip to content

Commit e9a852b

Browse files
authored
Reorganize examples (#135)
* reorganize examples * less AnalysisCallback output * introduce sub-testsets to get a more detailed summary * typo * fmt * re-use initial_condition_moist_bubble * fix * fix * fix * removed name from equations file * change top level * fix * fix * remove cartesian under euler, rename cartesian_manifold
1 parent bb81c47 commit e9a852b

File tree

58 files changed

+1030
-1396
lines changed

Some content is hidden

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

58 files changed

+1030
-1396
lines changed

examples/elixir_shallowwater_cartesian_advection_cubed_sphere.jl renamed to examples/advection/cartesian/elixir_cubed_sphere.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,11 @@ using TrixiAtmo
55
# To run a convergence test, we have two options:
66
# 1. Use the p4est variable initial_refinement_level to refine the grid:
77
# - To do this, line 46 ("initial_refinement_level = 0") must NOT be a comment
8-
# - Call convergence_test("../examples/elixir_shallowwater_cubed_sphere_shell_advection.jl", 4, initial_refinement_level = 0)
8+
# - Call convergence_test("../examples/advection/cartesian/elixir_cubed_sphere.jl", 4, initial_refinement_level = 0)
99
# - NOT OPTIMAL: Good convergence the first iterations, but then it stagnates. Reason: The geometry does not improve with refinement.
1010
# 2. Use the variable trees_per_face_dimension of P4estMeshCubedSphere2D
1111
# - To do this, line 46 ("initial_refinement_level = 0") MUST BE commented/removed.
12-
# - Call convergence_test("../examples/elixir_shallowwater_cubed_sphere_shell_advection.jl", 4, cells_per_dimension = (3,3))
12+
# - Call convergence_test("../examples/advection/cartesian/elixir_cubed_sphere.jl", 4, cells_per_dimension = (3,3))
1313
# - OPTIMAL convergence of polydeg + 1. Reason: The geometry improves with refinement.
1414

1515
###############################################################################

examples/elixir_shallowwater_cartesian_advection_quad_icosahedron.jl renamed to examples/advection/cartesian/elixir_quad_icosahedron.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,11 @@ using TrixiAtmo
55
# To run a convergence test, we have two options:
66
# 1. Use the p4est variable initial_refinement_level to refine the grid:
77
# - To do this, line 46 ("initial_refinement_level = 0") must NOT be a comment
8-
# - Call convergence_test("../examples/elixir_shallowwater_quad_icosahedron_shell_advection.jl", 4, initial_refinement_level = 0)
8+
# - Call convergence_test("../examples/advection/cartesian/elixir_quad_icosahedron.jl", 4, initial_refinement_level = 0)
99
# - NOT OPTIMAL: Good convergence the first iterations, but then it stagnates. Reason: The geometry does not improve with refinement.
1010
# 2. Use the variable trees_per_face_dimension of P4estMeshQuadIcosahedron2D
1111
# - To do this, line 46 ("initial_refinement_level = 0") MUST BE commented/removed
12-
# - Call convergence_test("../examples/elixir_shallowwater_quad_icosahedron_shell_advection.jl", 4, cells_per_dimension = (1,1))
12+
# - Call convergence_test("../examples/advection/cartesian/ elixir_quad_icosahedron.jl", 4, cells_per_dimension = (1,1))
1313
# - OPTIMAL convergence of polydeg + 1. Reason: The geometry improves with refinement.
1414

1515
###############################################################################

examples/elixir_spherical_advection_covariant_cubed_sphere.jl renamed to examples/advection/covariant/elixir_cubed_sphere.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
# DGSEM for the linear advection equation on the cubed sphere
33
###############################################################################
44
# To run a convergence test, use
5-
# convergence_test("../examples/elixir_spherical_advection_covariant_cubed_sphere.jl", 4, cells_per_dimension = (3,3))
5+
# convergence_test("../examples/advection/covariant/elixir_cubed_sphere.jl", 4, cells_per_dimension = (3,3))
66

77
using OrdinaryDiffEqLowStorageRK, Trixi, TrixiAtmo
88

examples/elixir_spherical_advection_covariant_quad_icosahedron.jl renamed to examples/advection/covariant/elixir_quad_icosahedron.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
# DGSEM for the linear advection equation on a quadrilateral icosahedral grid
33
###############################################################################
44
# To run a convergence test, use
5-
# convergence_test("../examples/elixir_spherical_advection_covariant_quad_icosahedron.jl", 4, cells_per_dimension = (1,1))
5+
# convergence_test("../examples/advection/covariant/elixir_quad_icosahedron.jl", 4, cells_per_dimension = (1,1))
66

77
using OrdinaryDiffEqLowStorageRK, Trixi, TrixiAtmo
88

examples/elixir_moist_euler_EC_bubble.jl

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

0 commit comments

Comments
 (0)