Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature: T8codeMesh backend with MPI support #1803

Merged
merged 241 commits into from
Jan 31, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
241 commits
Select commit Hold shift + click to select a range
db1ea6b
Initial commit for the new feature using t8code as meshing backend.
May 5, 2023
2cac6c9
Delete t8code_2d_dgsem
jmark May 5, 2023
1bb2061
Added new examples and tests. Testing updates for T8code.jl.
May 17, 2023
ba920cd
Merge branch 'feature-t8code' of github.com:trixi-framework/Trixi.jl …
May 17, 2023
1cab250
Worked in the comments.
May 22, 2023
edf6a91
Merge branch 'main' into feature-t8code
jmark May 23, 2023
cdced17
Fixed spelling.
May 23, 2023
d02d32e
Update src/auxiliary/auxiliary.jl
jmark May 24, 2023
7c01df0
Added whitespace in Unions.
May 24, 2023
e6cd1ab
Adapted commented out code block reporting the no. of elements per le…
May 24, 2023
0abdcd9
Added dummy save mesh support for .
May 24, 2023
10ac87d
Added test .
May 24, 2023
349136a
Added to method signature.
May 24, 2023
3e47616
Deleted unnecessary comments.
May 24, 2023
fe6d874
Removed commented out tests.
May 24, 2023
d5d6298
Fixed Morton ordering bug in 2D at mortar interfaces.
May 25, 2023
9c0db6f
Disabled `save_solution` callbacks and added more tests.
May 25, 2023
1440f90
Added more tests.
May 26, 2023
85a34df
Merge branch 'main' into feature-t8code
jmark May 26, 2023
068558f
Updated code according to the review.
May 30, 2023
1fab9b9
Merge branch 'main' into feature-t8code
jmark May 30, 2023
6dcca7b
Merge branch 'main' into feature-t8code
jmark May 31, 2023
497f957
Update src/auxiliary/t8code.jl
jmark Jun 1, 2023
4a958c4
Update src/auxiliary/t8code.jl
jmark Jun 1, 2023
3d869b0
Update src/auxiliary/t8code.jl
jmark Jun 1, 2023
c04b0f0
Update src/auxiliary/t8code.jl
jmark Jun 1, 2023
5396b87
Update src/meshes/t8code_mesh.jl
jmark Jun 1, 2023
095fdbc
Update src/meshes/t8code_mesh.jl
jmark Jun 1, 2023
3222693
Update src/meshes/t8code_mesh.jl
jmark Jun 1, 2023
db52949
Update src/meshes/t8code_mesh.jl
jmark Jun 1, 2023
62cc2b6
Update src/meshes/t8code_mesh.jl
jmark Jun 1, 2023
3ec60f2
Update src/meshes/t8code_mesh.jl
jmark Jun 1, 2023
13169bf
Update src/solvers/dgsem_t8code/containers_2d.jl
jmark Jun 1, 2023
1eb3d4c
Update src/meshes/t8code_mesh.jl
jmark Jun 1, 2023
c3e3869
Code cleanup.
Jun 12, 2023
504b637
Merging.
Jun 12, 2023
25265e3
Updated to [email protected]
Jun 12, 2023
86b6fed
Fixing minor issues.
Jun 12, 2023
12dc4fe
Fixed typo.
Jun 12, 2023
8e118dc
Code cleanup.
Jun 12, 2023
eb3af26
Enabled `set_ghost` in examples.
Jun 13, 2023
0dd6725
Generalized type info in function signature.
Jun 13, 2023
7218b05
Added namespace qualifier.
Jun 13, 2023
aad6321
Updated comments.
Jun 13, 2023
3dea7a1
Refactored code and deleted lots of it.
Jun 13, 2023
518669b
Merge branch 'main' into feature-t8code
Jun 13, 2023
f6f67ad
Removed a copy operation.
Jun 13, 2023
e2069b4
Initial commit.
Jun 13, 2023
12b792c
Fxinig minor bugs.
Jun 14, 2023
ca3797e
Fixed minor typo.
Jun 14, 2023
bc7e219
Added first 3d example and fixed segfault.
Jun 14, 2023
9ee3c21
Added many 3D examples and tests.
Jun 15, 2023
2639fab
Backup.
Jun 19, 2023
dc74b89
Resolving merge conflicts.
Jun 19, 2023
0638d18
Resolving merge conflicts.
Jun 19, 2023
8df37d1
Fixed merging issues.
Jun 19, 2023
6d67075
Adding more tests.
Jun 20, 2023
c9f431d
Fixed some merging issues and formatting.
Jun 20, 2023
7c1357f
Merge branch 'main' into feature-t8code
Jun 20, 2023
27ecb8a
Merge branch 'main' into feature-t8code
jmark Jun 20, 2023
ced89df
Fixed spelling.
Jun 20, 2023
32b6711
Fixed spelling and changed assert macro.
Jun 20, 2023
c450680
Applied automatic formatting.
Jun 20, 2023
5853034
Applied automatic formatting.
Jun 20, 2023
ea65411
Merged with feature-t8code and added more tests, fixed formatting.
Jun 20, 2023
40df56f
Merge branch 'main' into feature-t8code
ranocha Jun 29, 2023
39cb7cc
Merge branch 'main' into feature-t8code
jmark Jul 11, 2023
d238db7
Backup.
Jul 11, 2023
6ac73cf
Removed superfluous outer constructor for T8codeMesh.
Jul 11, 2023
c40b650
Merge branch 'feature-t8code' of github.com:trixi-framework/Trixi.jl …
Jul 11, 2023
1e0fa0c
Added return statement for consistency.
Jul 11, 2023
0adfbe1
Fixed wrong indentation by autoformatter.
Jul 11, 2023
e42f36e
Added comments.
Jul 11, 2023
aedea64
Made sure an exception is thrown.
Jul 14, 2023
27da77e
Merge branch 'main' into feature-t8code
Jul 14, 2023
1456f1f
Changed flags for sc_init for t8code initialization.
Jul 19, 2023
3857cc3
Updated formatting.
Jul 19, 2023
83a5b81
Merge branch 'main' into feature-t8code
jmark Jul 19, 2023
df94655
Workaround for error about calling MPI routines after MPI has been fi…
Jul 20, 2023
a54377b
Merge branch 'feature-t8code' of github.com:trixi-framework/Trixi.jl …
Jul 20, 2023
40d45c9
Upped to T8code v0.4.1.
Jul 21, 2023
4fa4374
Merge branch 'main' into feature-t8code
ranocha Jul 22, 2023
6074e87
Added mpi_finailize_hook for proper memory cleanup.
Jul 24, 2023
766abc9
Added t8code to test_threaded.jl
Jul 24, 2023
99b1282
Merge branch 'feature-t8code' of github.com:trixi-framework/Trixi.jl …
Jul 24, 2023
2891e6f
Merge branch 'main' into feature-t8code
Jul 24, 2023
0d3af2a
Merge branch 'main' of github.com:trixi-framework/Trixi.jl into featu…
Jul 25, 2023
032f69e
Added a `save_mesh_file` call in order to satisfy code coverage.
Jul 25, 2023
104df24
Merge branch 'main' into feature-t8code
Jul 25, 2023
dde2802
Improved finalizer logic for T8coeMesh.
Jul 25, 2023
c9c1c64
Refined code.
Jul 25, 2023
33fced5
Restructured to do blocks.
Jul 25, 2023
b2d97a4
Moved save_mesh_file call to test file.
Jul 25, 2023
19950c8
Fixed spelling error.
Jul 25, 2023
3047e66
Merge branch 'main' into feature-t8code
ranocha Jul 26, 2023
9435b34
Merge branch 'main' into feature-t8code
ranocha Jul 26, 2023
12a20e5
Made sc_finalize optional.
Jul 26, 2023
7f9b0e2
Fixed spelling.
Jul 26, 2023
b8980b3
Merging with feature-t8code.
Jul 26, 2023
7cb972d
Cleaned up examples.
Jul 26, 2023
2c0861f
Updated and cleaned t8code solver codes.
Jul 26, 2023
0e49cb5
Updated tests for t8code 3D code.
Jul 26, 2023
a36001d
Fixed spelling.
Jul 26, 2023
e2599f0
Update elixir_euler_source_terms_nonconforming_unstructured_curved.jl
jmark Jul 26, 2023
a8d5de7
Update elixir_euler_source_terms_nonconforming_unstructured_curved.jl
jmark Jul 26, 2023
090f7d1
Fixed merge conflicts.
Jul 26, 2023
f30a61b
Fixed indentation.
Jul 26, 2023
c6ed4d8
Merge branch 'feature-t8code-3d' of github.com:trixi-framework/Trixi.…
Jul 26, 2023
f3a68bc
Merge branch 'main' into feature-t8code-3d
ranocha Jul 28, 2023
3acecd9
Merge branch 'main' into feature-t8code-3d
Aug 31, 2023
79ab0cb
Update src/solvers/dgsem_structured/dg_3d.jl
jmark Aug 31, 2023
1453ad5
Update src/solvers/dgsem_t8code/containers_3d.jl
jmark Aug 31, 2023
54655e3
Update src/callbacks_step/amr_dg3d.jl
jmark Aug 31, 2023
0372153
Update examples/t8code_3d_dgsem/elixir_euler_ec.jl
jmark Aug 31, 2023
7a7ccb1
Update examples/t8code_3d_dgsem/elixir_advection_unstructured_curved.jl
jmark Aug 31, 2023
70bf2d3
Update examples/t8code_3d_dgsem/elixir_advection_amr_unstructured_cur…
jmark Aug 31, 2023
5de7c73
Update src/solvers/dgsem_structured/dg_3d.jl
jmark Aug 31, 2023
2246f83
Update src/meshes/t8code_mesh.jl
jmark Aug 31, 2023
7b0baf7
Update src/callbacks_step/analysis_dg3d.jl
jmark Aug 31, 2023
ccdd90e
Update examples/t8code_3d_dgsem/elixir_euler_free_stream.jl
jmark Aug 31, 2023
ed47329
Removed NDIMS from T8codeMesh construction in case of p4est/p8est con…
Aug 31, 2023
ccb2d5e
Merge branch 'feature-t8code-3d' of github.com:trixi-framework/Trixi.…
Aug 31, 2023
30d8105
Aligned T8codeMesh constructur with other mesh constructors.
Aug 31, 2023
7e932bc
Update examples/t8code_3d_dgsem/elixir_euler_sedov.jl
jmark Aug 31, 2023
641765a
Update examples/t8code_3d_dgsem/elixir_euler_sedov.jl
jmark Aug 31, 2023
7562f7f
Cleanup up.
Aug 31, 2023
488ee97
Merge branch 'feature-t8code-3d' of github.com:trixi-framework/Trixi.…
Aug 31, 2023
80fe0e6
Added @allocated test.
Aug 31, 2023
1421434
Fixed formatting.
Aug 31, 2023
af06ee9
Merge branch 'main' into feature-t8code-3d
jmark Dec 18, 2023
0026a72
Applied formatter.
Dec 18, 2023
69de363
Merge branch 'main' into feature-t8code-3d
jmark Dec 19, 2023
e7175cf
Added ParallelT8codeMesh to constructor.
Dec 19, 2023
67381e7
Merge branch 'main' into feature-t8code-3d
Jan 11, 2024
ff56688
Code cleanup.
Jan 11, 2024
ec8c801
Merge branch 'feature-t8code-3d' of github.com:trixi-framework/Trixi.…
Jan 11, 2024
5d906f8
Extended T8codeMesh backend to support MPI interfaces datastructures.
Dec 19, 2023
852f720
Update NEWS.md (#1780)
jlchan Dec 18, 2023
9e5c263
set version to v0.6.5
ranocha Dec 20, 2023
6f92a16
set development version to v0.6.6-pre
ranocha Dec 20, 2023
05c9889
hotfix: restrict DiffEqBase.jl to let CI pass (#1788)
ranocha Dec 21, 2023
9b6852d
Parabolic Mortar for AMR `P4estMesh{3}` (#1765)
apey236 Dec 23, 2023
188c24d
reset the timer also on non-root MPI processes (#1787)
ranocha Dec 24, 2023
8b24d27
Add HLLC flux for non-cartesian meshes to CompressibleEulerEquations{…
benegee Dec 30, 2023
f053bb4
Bump crate-ci/typos from 1.16.23 to 1.16.26 (#1793)
dependabot[bot] Jan 3, 2024
e582158
Extend `CompressibleEulerQuasi1D` and `ShallowWaterQuasi1D` to `DGMul…
jlchan Jan 4, 2024
d8a768b
Fix boundary_condition_slip_wall for SWE (#1798)
patrickersing Jan 9, 2024
fa532c7
comments explaining usage of `ForwardDiff.jacobian` (#1800)
DanielDoehring Jan 9, 2024
a5785d1
Bump actions/upload-artifact from 3 to 4 (#1795)
dependabot[bot] Jan 9, 2024
4ba61a8
Code cleanup.
Jan 11, 2024
49f0409
Applied formatter.
Jan 11, 2024
06bd3c4
Registered mpi t8code tests.
Jan 11, 2024
3d625c9
Added load-balancing feature to T8codeMesh.
Jan 12, 2024
c101f31
Applied formatter.
Jan 12, 2024
022c2a8
Merge branch 'main' into feature-t8code-mpi
Jan 12, 2024
92a2c1b
Updated some test values.
Jan 12, 2024
d3b6746
Merge branch 'main' into feature-t8code-3d
Jan 12, 2024
97d7e6e
Fixed typo.
Jan 12, 2024
0bfc644
Removed unused member variable.
Jan 15, 2024
f66d284
Apply suggestions from code review
benegee Jan 15, 2024
edb0fba
suggestions from review
benegee Jan 15, 2024
2374fe5
fix format (strange?)
benegee Jan 15, 2024
a2a1de8
Merge branch 'feature-t8code-3d' of github.com:trixi-framework/Trixi.…
Jan 15, 2024
8f8d2ad
Added comments to help interpreting the source code.
Jan 15, 2024
c9aad1b
Update src/callbacks_step/amr_dg3d.jl
jmark Jan 15, 2024
20fd85f
Merge branch 'feature-t8code-3d' of github.com:trixi-framework/Trixi.…
Jan 15, 2024
61160d9
Adhered to unified mesh constructor calling scheme.
Jan 15, 2024
36e41a6
Applied formatter.
Jan 15, 2024
deb02bc
Switched to Float64 instead of Cdouble.
Jan 15, 2024
7ba7b9e
Update src/meshes/t8code_mesh.jl
benegee Jan 15, 2024
d7bf2ef
Refactored negative volume check.
Jan 16, 2024
fbbc7e0
Merge branch 'feature-t8code-3d' of github.com:trixi-framework/Trixi.…
Jan 16, 2024
7cb90b8
Applied formatter.
Jan 16, 2024
ba442ff
Fixed typo resp. bug.
Jan 16, 2024
40624af
Apply suggestions from code review
benegee Jan 17, 2024
5c7cfbc
add missing allocation checks
benegee Jan 17, 2024
30c6e29
Some refactoring.
Jan 18, 2024
cd7acc5
Deleted msh file.
Jan 18, 2024
52f917e
Fixed a bug.
Jan 18, 2024
c67800a
Code cleanup.
Jan 18, 2024
d7afb24
Ignore gmsh files.
Jan 19, 2024
8f80b76
Removed adapt! from global namespace.
Jan 19, 2024
c6204f1
Added documentation.
Jan 19, 2024
8100cd8
Added @test_warn to test.
Jan 19, 2024
65c4424
Applied formatter.
Jan 19, 2024
28b1244
Apply suggestions from code review
benegee Jan 19, 2024
cae1cbb
Turned @warn to @info.
Jan 19, 2024
e055f5a
Code cleanup and added @deprecated routines in order to avoid breakin…
Jan 19, 2024
38aa10b
Merge branch 'feature-t8code-3d' of github.com:trixi-framework/Trixi.…
Jan 19, 2024
4a1b775
Applied formatter.
Jan 19, 2024
6e79e6a
Added formatter pragmas to avoid ugly formatting.
Jan 19, 2024
147fd03
Merge branch 'feature-t8code-3d' into feature-t8code-mpi
Jan 19, 2024
86de028
Merge branch 'main' into feature-t8code-mpi
Jan 19, 2024
4084c38
Applied formatter.
Jan 19, 2024
719e887
Code cleanup. Documenting.
Jan 19, 2024
45a1242
Applied formatter.
Jan 19, 2024
5b5efa4
Removed remnants of development.
Jan 19, 2024
743ce3f
Removed dubious commented out line.
Jan 19, 2024
edeb088
minors in comments
benegee Jan 22, 2024
14e57b9
Added `retrieve` function which downloads missing mesh file without r…
Jan 22, 2024
ccecece
Merge branch 'feature-t8code-mpi' of github.com:trixi-framework/Trixi…
Jan 22, 2024
1a2d861
Added Downloads as dependency.
Jan 22, 2024
1ab9c31
Added missing namespace qualifier.
Jan 22, 2024
28e82a5
add compat bound
benegee Jan 22, 2024
d766aa1
Merge branch 'feature-t8code-mpi' of github.com:trixi-framework/Trixi…
benegee Jan 22, 2024
4e80993
Apply suggestions from code review
benegee Jan 23, 2024
a438547
use retrieve everywhere for downloading
benegee Jan 23, 2024
7d6a7e0
try to improve formatting
benegee Jan 23, 2024
85c8967
and what julia formatter makes out of it
benegee Jan 23, 2024
d0e9a2c
try to consolidate max_dt computation
benegee Jan 23, 2024
58053dc
format
benegee Jan 23, 2024
0faf630
add default allocation tests
benegee Jan 23, 2024
e01c8df
remove left over vtk_write
benegee Jan 23, 2024
fe853fd
Revert "try to consolidate max_dt computation"
benegee Jan 23, 2024
fb5ebf0
fix variable name
benegee Jan 23, 2024
b068d11
less consolidation
benegee Jan 23, 2024
8d3835a
remove unused variables
benegee Jan 23, 2024
ac67e5b
Update src/auxiliary/auxiliary.jl
benegee Jan 24, 2024
bbf32ac
Update src/Trixi.jl
benegee Jan 24, 2024
dde6297
revert b068d1183 (manually)
benegee Jan 24, 2024
a03ffdc
Merge branch 'feature-t8code-mpi' of github.com:trixi-framework/Trixi…
benegee Jan 24, 2024
a38e3b4
use Trixi.download
benegee Jan 24, 2024
c1d87a7
Revert "use retrieve everywhere for downloading"
benegee Jan 24, 2024
9ceae05
change to new Trixi.download signature
benegee Jan 24, 2024
248521a
format
benegee Jan 24, 2024
e725e70
remove merge leftover
benegee Jan 24, 2024
e0a1d25
Merge branch 'main' into feature-t8code-mpi
benegee Jan 24, 2024
fe58021
format
benegee Jan 24, 2024
ecc328b
Merge branch 'main' into feature-t8code-mpi
Jan 26, 2024
f514a67
Code refactor. Applied review comments.
Jan 26, 2024
67ae19e
Fixed bug.
Jan 26, 2024
9c2d1e0
Fixed typo.
Jan 26, 2024
b536fc2
Merge branch 'main' into feature-t8code-mpi
jmark Jan 29, 2024
abc3429
Update src/auxiliary/auxiliary.jl
jmark Jan 30, 2024
fdae730
Update src/meshes/t8code_mesh.jl
jmark Jan 30, 2024
cebf1d5
Update src/meshes/t8code_mesh.jl
jmark Jan 30, 2024
7c3d517
Applying review comments.
Jan 30, 2024
c29055a
Merge branch 'feature-t8code-mpi' of github.com:trixi-framework/Trixi…
Jan 30, 2024
65b3d94
Added return early if there is nothing to do in adapt routines.
Jan 30, 2024
c363a0f
Merge branch 'main' into feature-t8code-mpi
jmark Jan 30, 2024
dc0fc73
Merge branch 'main' into feature-t8code-mpi
ranocha Jan 31, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions Project.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ ConstructionBase = "187b0558-2788-49d3-abe0-74a17ed4e7c9"
DataStructures = "864edb3b-99cc-5e75-8d2d-829cb0a9cfe8"
DiffEqBase = "2b5f629d-d688-5b77-993f-72d75c75574e"
DiffEqCallbacks = "459566f4-90b8-5000-8ac3-15dfb0a30def"
Downloads = "f43a241f-c20a-4ad4-852c-f6b1247861c6"
EllipsisNotation = "da5c29d0-fa7d-589e-88eb-ea29b0a81949"
FillArrays = "1a297f60-69ca-5386-bcde-b61e274b549b"
ForwardDiff = "f6369f11-7733-5829-9624-2563aa707210"
Expand Down Expand Up @@ -57,6 +58,7 @@ ConstructionBase = "1.3"
DataStructures = "0.18.15"
DiffEqBase = "6 - 6.143"
DiffEqCallbacks = "2.25"
Downloads = "1.6"
EllipsisNotation = "1.0"
FillArrays = "0.13.2, 1"
ForwardDiff = "0.10.18"
Expand Down
9 changes: 3 additions & 6 deletions benchmark/elixir_2d_euler_vortex_unstructured.jl
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@

using Downloads: download
using OrdinaryDiffEq
using Trixi

Expand Down Expand Up @@ -49,11 +48,9 @@ end
initial_condition = initial_condition_isentropic_vortex
solver = DGSEM(polydeg = 3, surface_flux = flux_lax_friedrichs)

default_mesh_file = joinpath(@__DIR__, "mesh_uniform_cartesian.mesh")
isfile(default_mesh_file) ||
download("https://gist.githubusercontent.com/ranocha/f4ea19ba3b62348968c971db43d7798b/raw/a506abb9479c020920cf6068c142670fc1a9aadc/mesh_uniform_cartesian.mesh",
default_mesh_file)
mesh_file = default_mesh_file
mesh_file = Trixi.download("https://gist.githubusercontent.com/ranocha/f4ea19ba3b62348968c971db43d7798b/raw/a506abb9479c020920cf6068c142670fc1a9aadc/mesh_uniform_cartesian.mesh",
joinpath(@__DIR__, "mesh_uniform_cartesian.mesh"))

mesh = UnstructuredMesh2D(mesh_file, periodicity = true)

semi = SemidiscretizationHyperbolic(mesh, equations, initial_condition, solver)
Expand Down
9 changes: 2 additions & 7 deletions examples/dgmulti_2d/elixir_euler_hohqmesh.jl
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@

using Downloads: download
using OrdinaryDiffEq
using Trixi

Expand Down Expand Up @@ -30,12 +29,8 @@ dg = DGMulti(polydeg = 8, element_type = Quad(), approximation_type = SBP(),

###############################################################################
# Get the curved quad mesh from a file (downloads the file if not available locally)

default_mesh_file = joinpath(@__DIR__, "mesh_trixi_unstructured_mesh_docs.mesh")
isfile(default_mesh_file) ||
download("https://gist.githubusercontent.com/andrewwinters5000/52056f1487853fab63b7f4ed7f171c80/raw/9d573387dfdbb8bce2a55db7246f4207663ac07f/mesh_trixi_unstructured_mesh_docs.mesh",
default_mesh_file)
mesh_file = default_mesh_file
mesh_file = Trixi.download("https://gist.githubusercontent.com/andrewwinters5000/52056f1487853fab63b7f4ed7f171c80/raw/9d573387dfdbb8bce2a55db7246f4207663ac07f/mesh_trixi_unstructured_mesh_docs.mesh",
joinpath(@__DIR__, "mesh_trixi_unstructured_mesh_docs.mesh"))

mesh = DGMultiMesh(dg, mesh_file)

Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@

using Downloads: download
using OrdinaryDiffEq
using Trixi

Expand Down Expand Up @@ -31,10 +30,8 @@ Trixi.validate_faces(faces)
mapping_flag = Trixi.transfinite_mapping(faces)

# Unstructured mesh with 24 cells of the square domain [-1, 1]^n
mesh_file = joinpath(@__DIR__, "square_unstructured_2.inp")
isfile(mesh_file) ||
download("https://gist.githubusercontent.com/efaulhaber/63ff2ea224409e55ee8423b3a33e316a/raw/7db58af7446d1479753ae718930741c47a3b79b7/square_unstructured_2.inp",
mesh_file)
mesh_file = Trixi.download("https://gist.githubusercontent.com/efaulhaber/63ff2ea224409e55ee8423b3a33e316a/raw/7db58af7446d1479753ae718930741c47a3b79b7/square_unstructured_2.inp",
joinpath(@__DIR__, "square_unstructured_2.inp"))

mesh = P4estMesh{2}(mesh_file, polydeg = 3,
mapping = mapping_flag,
Expand Down
7 changes: 2 additions & 5 deletions examples/p4est_2d_dgsem/elixir_advection_unstructured_flag.jl
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@

using Downloads: download
using OrdinaryDiffEq
using Trixi

Expand Down Expand Up @@ -29,10 +28,8 @@ Trixi.validate_faces(faces)
mapping_flag = Trixi.transfinite_mapping(faces)

# Unstructured mesh with 24 cells of the square domain [-1, 1]^n
mesh_file = joinpath(@__DIR__, "square_unstructured_2.inp")
isfile(mesh_file) ||
download("https://gist.githubusercontent.com/efaulhaber/63ff2ea224409e55ee8423b3a33e316a/raw/7db58af7446d1479753ae718930741c47a3b79b7/square_unstructured_2.inp",
mesh_file)
mesh_file = Trixi.download("https://gist.githubusercontent.com/efaulhaber/63ff2ea224409e55ee8423b3a33e316a/raw/7db58af7446d1479753ae718930741c47a3b79b7/square_unstructured_2.inp",
joinpath(@__DIR__, "square_unstructured_2.inp"))

mesh = P4estMesh{2}(mesh_file, polydeg = 3,
mapping = mapping_flag,
Expand Down
7 changes: 2 additions & 5 deletions examples/p4est_2d_dgsem/elixir_euler_blast_wave_amr.jl
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@

using Downloads: download
using OrdinaryDiffEq
using Trixi

Expand Down Expand Up @@ -50,10 +49,8 @@ volume_integral = VolumeIntegralShockCapturingHG(indicator_sc;
solver = DGSEM(basis, surface_flux, volume_integral)

# Unstructured mesh with 48 cells of the square domain [-1, 1]^n
mesh_file = joinpath(@__DIR__, "square_unstructured_1.inp")
isfile(mesh_file) ||
download("https://gist.githubusercontent.com/efaulhaber/a075f8ec39a67fa9fad8f6f84342cbca/raw/a7206a02ed3a5d3cadacd8d9694ac154f9151db7/square_unstructured_1.inp",
mesh_file)
mesh_file = Trixi.download("https://gist.githubusercontent.com/efaulhaber/a075f8ec39a67fa9fad8f6f84342cbca/raw/a7206a02ed3a5d3cadacd8d9694ac154f9151db7/square_unstructured_1.inp",
joinpath(@__DIR__, "square_unstructured_1.inp"))

mesh = P4estMesh{2}(mesh_file, polydeg = 3, initial_refinement_level = 1)

Expand Down
8 changes: 2 additions & 6 deletions examples/p4est_2d_dgsem/elixir_euler_double_mach_amr.jl
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@

using Downloads: download
using OrdinaryDiffEq
using Trixi

Expand Down Expand Up @@ -99,11 +98,8 @@ solver = DGSEM(polydeg = polydeg, surface_flux = surface_flux,
volume_integral = volume_integral)

# Get the unstructured quad mesh from a file (downloads the file if not available locally)
default_mesh_file = joinpath(@__DIR__, "abaqus_double_mach.inp")
isfile(default_mesh_file) ||
download("https://gist.githubusercontent.com/andrewwinters5000/a0806ef0d03cf5ea221af523167b6e32/raw/61ed0eb017eb432d996ed119a52fb041fe363e8c/abaqus_double_mach.inp",
default_mesh_file)
mesh_file = default_mesh_file
mesh_file = Trixi.download("https://gist.githubusercontent.com/andrewwinters5000/a0806ef0d03cf5ea221af523167b6e32/raw/61ed0eb017eb432d996ed119a52fb041fe363e8c/abaqus_double_mach.inp",
joinpath(@__DIR__, "abaqus_double_mach.inp"))

mesh = P4estMesh{2}(mesh_file)

Expand Down
8 changes: 2 additions & 6 deletions examples/p4est_2d_dgsem/elixir_euler_forward_step_amr.jl
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@

using Downloads: download
using OrdinaryDiffEq
using Trixi

Expand Down Expand Up @@ -104,11 +103,8 @@ solver = DGSEM(polydeg = polydeg, surface_flux = surface_flux,
volume_integral = volume_integral)

# Get the unstructured quad mesh from a file (downloads the file if not available locally)
default_mesh_file = joinpath(@__DIR__, "abaqus_forward_step.inp")
isfile(default_mesh_file) ||
download("https://gist.githubusercontent.com/andrewwinters5000/b346ee6aa5446687f128eab8b37d52a7/raw/cd1e1d43bebd8d2631a07caec45585ec8456ca4c/abaqus_forward_step.inp",
default_mesh_file)
mesh_file = default_mesh_file
mesh_file = Trixi.download("https://gist.githubusercontent.com/andrewwinters5000/b346ee6aa5446687f128eab8b37d52a7/raw/cd1e1d43bebd8d2631a07caec45585ec8456ca4c/abaqus_forward_step.inp",
joinpath(@__DIR__, "abaqus_forward_step.inp"))

mesh = P4estMesh{2}(mesh_file)

Expand Down
7 changes: 2 additions & 5 deletions examples/p4est_2d_dgsem/elixir_euler_free_stream.jl
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@

using Downloads: download
using OrdinaryDiffEq
using Trixi

Expand Down Expand Up @@ -31,10 +30,8 @@ end
# Get the uncurved mesh from a file (downloads the file if not available locally)

# Unstructured mesh with 48 cells of the square domain [-1, 1]^n
mesh_file = joinpath(@__DIR__, "square_unstructured_1.inp")
isfile(mesh_file) ||
download("https://gist.githubusercontent.com/efaulhaber/a075f8ec39a67fa9fad8f6f84342cbca/raw/a7206a02ed3a5d3cadacd8d9694ac154f9151db7/square_unstructured_1.inp",
mesh_file)
mesh_file = Trixi.download("https://gist.githubusercontent.com/efaulhaber/a075f8ec39a67fa9fad8f6f84342cbca/raw/a7206a02ed3a5d3cadacd8d9694ac154f9151db7/square_unstructured_1.inp",
joinpath(@__DIR__, "square_unstructured_1.inp"))

# Map the unstructured mesh with the mapping above
mesh = P4estMesh{2}(mesh_file, polydeg = 3, mapping = mapping, initial_refinement_level = 1)
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@

using Downloads: download
using OrdinaryDiffEq
using Trixi

Expand Down Expand Up @@ -31,10 +30,8 @@ mapping_flag = Trixi.transfinite_mapping(faces)

# Get the uncurved mesh from a file (downloads the file if not available locally)
# Unstructured mesh with 24 cells of the square domain [-1, 1]^n
mesh_file = joinpath(@__DIR__, "square_unstructured_2.inp")
isfile(mesh_file) ||
download("https://gist.githubusercontent.com/efaulhaber/63ff2ea224409e55ee8423b3a33e316a/raw/7db58af7446d1479753ae718930741c47a3b79b7/square_unstructured_2.inp",
mesh_file)
mesh_file = Trixi.download("https://gist.githubusercontent.com/efaulhaber/63ff2ea224409e55ee8423b3a33e316a/raw/7db58af7446d1479753ae718930741c47a3b79b7/square_unstructured_2.inp",
joinpath(@__DIR__, "square_unstructured_2.inp"))

mesh = P4estMesh{2}(mesh_file, polydeg = 3,
mapping = mapping_flag,
Expand Down
8 changes: 2 additions & 6 deletions examples/p4est_2d_dgsem/elixir_euler_supersonic_cylinder.jl
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@
#
# Keywords: supersonic flow, shock capturing, AMR, unstructured curved mesh, positivity preservation, compressible Euler, 2D

using Downloads: download
using OrdinaryDiffEq
using Trixi

Expand Down Expand Up @@ -82,11 +81,8 @@ solver = DGSEM(polydeg = polydeg, surface_flux = surface_flux,
volume_integral = volume_integral)

# Get the unstructured quad mesh from a file (downloads the file if not available locally)
default_mesh_file = joinpath(@__DIR__, "abaqus_cylinder_in_channel.inp")
isfile(default_mesh_file) ||
download("https://gist.githubusercontent.com/andrewwinters5000/a08f78f6b185b63c3baeff911a63f628/raw/addac716ea0541f588b9d2bd3f92f643eb27b88f/abaqus_cylinder_in_channel.inp",
default_mesh_file)
mesh_file = default_mesh_file
mesh_file = Trixi.download("https://gist.githubusercontent.com/andrewwinters5000/a08f78f6b185b63c3baeff911a63f628/raw/addac716ea0541f588b9d2bd3f92f643eb27b88f/abaqus_cylinder_in_channel.inp",
joinpath(@__DIR__, "abaqus_cylinder_in_channel.inp"))

mesh = P4estMesh{2}(mesh_file)

Expand Down
8 changes: 2 additions & 6 deletions examples/p4est_2d_dgsem/elixir_euler_wall_bc_amr.jl
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@

using Downloads: download
using OrdinaryDiffEq
using Trixi

Expand Down Expand Up @@ -39,11 +38,8 @@ solver = DGSEM(polydeg = 5, surface_flux = flux_lax_friedrichs,
volume_integral = VolumeIntegralFluxDifferencing(volume_flux))

# Get the unstructured quad mesh from a file (downloads the file if not available locally)
default_mesh_file = joinpath(@__DIR__, "abaqus_gingerbread_man.inp")
isfile(default_mesh_file) ||
download("https://gist.githubusercontent.com/andrewwinters5000/0e9e990a04b5105d1d2e3096a6e41272/raw/0d924b1d7e7d3cc1070a6cc22fe1d501687aa6dd/abaqus_gingerbread_man.inp",
default_mesh_file)
mesh_file = default_mesh_file
mesh_file = Trixi.download("https://gist.githubusercontent.com/andrewwinters5000/0e9e990a04b5105d1d2e3096a6e41272/raw/0d924b1d7e7d3cc1070a6cc22fe1d501687aa6dd/abaqus_gingerbread_man.inp",
joinpath(@__DIR__, "abaqus_gingerbread_man.inp"))

mesh = P4estMesh{2}(mesh_file)

Expand Down
7 changes: 2 additions & 5 deletions examples/p4est_2d_dgsem/elixir_mhd_rotor.jl
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@

using Downloads: download
using OrdinaryDiffEq
using Trixi

Expand Down Expand Up @@ -69,10 +68,8 @@ function mapping_twist(xi, eta)
return SVector(x, y)
end

mesh_file = joinpath(@__DIR__, "square_unstructured_2.inp")
isfile(mesh_file) ||
download("https://gist.githubusercontent.com/efaulhaber/63ff2ea224409e55ee8423b3a33e316a/raw/7db58af7446d1479753ae718930741c47a3b79b7/square_unstructured_2.inp",
mesh_file)
mesh_file = Trixi.download("https://gist.githubusercontent.com/efaulhaber/63ff2ea224409e55ee8423b3a33e316a/raw/7db58af7446d1479753ae718930741c47a3b79b7/square_unstructured_2.inp",
joinpath(@__DIR__, "square_unstructured_2.inp"))

mesh = P4estMesh{2}(mesh_file,
polydeg = 4,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@

using Downloads: download
using OrdinaryDiffEq
using Trixi

Expand Down Expand Up @@ -49,10 +48,8 @@ function mapping(xi, eta, zeta)
end

# Unstructured mesh with 48 cells of the cube domain [-1, 1]^3
mesh_file = joinpath(@__DIR__, "cube_unstructured_2.inp")
isfile(mesh_file) ||
download("https://gist.githubusercontent.com/efaulhaber/b8df0033798e4926dec515fc045e8c2c/raw/b9254cde1d1fb64b6acc8416bc5ccdd77a240227/cube_unstructured_2.inp",
mesh_file)
mesh_file = Trixi.download("https://gist.githubusercontent.com/efaulhaber/b8df0033798e4926dec515fc045e8c2c/raw/b9254cde1d1fb64b6acc8416bc5ccdd77a240227/cube_unstructured_2.inp",
joinpath(@__DIR__, "cube_unstructured_2.inp"))

# Mesh polydeg of 2 (half the solver polydeg) to ensure FSP (see above).
mesh = P4estMesh{3}(mesh_file, polydeg = 2,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@

using Downloads: download
using OrdinaryDiffEq
using Trixi

Expand Down Expand Up @@ -46,10 +45,8 @@ function mapping(xi, eta, zeta)
end

# Unstructured mesh with 68 cells of the cube domain [-1, 1]^3
mesh_file = joinpath(@__DIR__, "cube_unstructured_1.inp")
isfile(mesh_file) ||
download("https://gist.githubusercontent.com/efaulhaber/d45c8ac1e248618885fa7cc31a50ab40/raw/37fba24890ab37cfa49c39eae98b44faf4502882/cube_unstructured_1.inp",
mesh_file)
mesh_file = Trixi.download("https://gist.githubusercontent.com/efaulhaber/d45c8ac1e248618885fa7cc31a50ab40/raw/37fba24890ab37cfa49c39eae98b44faf4502882/cube_unstructured_1.inp",
joinpath(@__DIR__, "cube_unstructured_1.inp"))

mesh = P4estMesh{3}(mesh_file, polydeg = 3,
mapping = mapping,
Expand Down
7 changes: 2 additions & 5 deletions examples/p4est_3d_dgsem/elixir_euler_ec.jl
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@

using Downloads: download
using OrdinaryDiffEq
using Trixi

Expand Down Expand Up @@ -46,10 +45,8 @@ function mapping(xi_, eta_, zeta_)
end

# Unstructured mesh with 48 cells of the cube domain [-1, 1]^3
mesh_file = joinpath(@__DIR__, "cube_unstructured_2.inp")
isfile(mesh_file) ||
download("https://gist.githubusercontent.com/efaulhaber/b8df0033798e4926dec515fc045e8c2c/raw/b9254cde1d1fb64b6acc8416bc5ccdd77a240227/cube_unstructured_2.inp",
mesh_file)
mesh_file = Trixi.download("https://gist.githubusercontent.com/efaulhaber/b8df0033798e4926dec515fc045e8c2c/raw/b9254cde1d1fb64b6acc8416bc5ccdd77a240227/cube_unstructured_2.inp",
joinpath(@__DIR__, "cube_unstructured_2.inp"))

mesh = P4estMesh{3}(mesh_file, polydeg = 5,
mapping = mapping,
Expand Down
7 changes: 2 additions & 5 deletions examples/p4est_3d_dgsem/elixir_euler_free_stream.jl
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@

using Downloads: download
using OrdinaryDiffEq
using Trixi

Expand Down Expand Up @@ -47,10 +46,8 @@ function mapping(xi_, eta_, zeta_)
end

# Unstructured mesh with 68 cells of the cube domain [-1, 1]^3
mesh_file = joinpath(@__DIR__, "cube_unstructured_1.inp")
isfile(mesh_file) ||
download("https://gist.githubusercontent.com/efaulhaber/d45c8ac1e248618885fa7cc31a50ab40/raw/37fba24890ab37cfa49c39eae98b44faf4502882/cube_unstructured_1.inp",
mesh_file)
mesh_file = Trixi.download("https://gist.githubusercontent.com/efaulhaber/d45c8ac1e248618885fa7cc31a50ab40/raw/37fba24890ab37cfa49c39eae98b44faf4502882/cube_unstructured_1.inp",
joinpath(@__DIR__, "cube_unstructured_1.inp"))

# Mesh polydeg of 2 (half the solver polydeg) to ensure FSP (see above).
mesh = P4estMesh{3}(mesh_file, polydeg = 2,
Expand Down
7 changes: 2 additions & 5 deletions examples/p4est_3d_dgsem/elixir_euler_free_stream_extruded.jl
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@

using Downloads: download
using OrdinaryDiffEq
using Trixi

Expand Down Expand Up @@ -36,10 +35,8 @@ function mapping(xi, eta_, zeta_)
end

# Unstructured mesh with 48 cells of the cube domain [-1, 1]^3
mesh_file = joinpath(@__DIR__, "cube_unstructured_2.inp")
isfile(mesh_file) ||
download("https://gist.githubusercontent.com/efaulhaber/b8df0033798e4926dec515fc045e8c2c/raw/b9254cde1d1fb64b6acc8416bc5ccdd77a240227/cube_unstructured_2.inp",
mesh_file)
mesh_file = Trixi.download("https://gist.githubusercontent.com/efaulhaber/b8df0033798e4926dec515fc045e8c2c/raw/b9254cde1d1fb64b6acc8416bc5ccdd77a240227/cube_unstructured_2.inp",
joinpath(@__DIR__, "cube_unstructured_2.inp"))

mesh = P4estMesh{3}(mesh_file, polydeg = 3,
mapping = mapping,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@

using Downloads: download
using OrdinaryDiffEq
using Trixi

Expand Down Expand Up @@ -49,10 +48,8 @@ function mapping(xi, eta, zeta)
end

# Unstructured mesh with 68 cells of the cube domain [-1, 1]^3
mesh_file = joinpath(@__DIR__, "cube_unstructured_1.inp")
isfile(mesh_file) ||
download("https://gist.githubusercontent.com/efaulhaber/d45c8ac1e248618885fa7cc31a50ab40/raw/37fba24890ab37cfa49c39eae98b44faf4502882/cube_unstructured_1.inp",
mesh_file)
mesh_file = Trixi.download("https://gist.githubusercontent.com/efaulhaber/d45c8ac1e248618885fa7cc31a50ab40/raw/37fba24890ab37cfa49c39eae98b44faf4502882/cube_unstructured_1.inp",
joinpath(@__DIR__, "cube_unstructured_1.inp"))

# Mesh polydeg of 2 (half the solver polydeg) to ensure FSP (see above).
mesh = P4estMesh{3}(mesh_file, polydeg = 2,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@

using Downloads: download
using OrdinaryDiffEq
using Trixi

Expand All @@ -19,11 +18,8 @@ boundary_conditions = Dict(:Bottom => boundary_condition,
solver = DGSEM(polydeg = 4, surface_flux = flux_lax_friedrichs)

# Unstructured 3D half circle mesh from HOHQMesh
default_mesh_file = joinpath(@__DIR__, "abaqus_half_circle_3d.inp")
isfile(default_mesh_file) ||
download("https://gist.githubusercontent.com/andrewwinters5000/11461efbfb02c42e06aca338b3d0b645/raw/81deeb1ebc4945952c30af5bb75fe222a18d975c/abaqus_half_circle_3d.inp",
default_mesh_file)
mesh_file = default_mesh_file
mesh_file = Trixi.download("https://gist.githubusercontent.com/andrewwinters5000/11461efbfb02c42e06aca338b3d0b645/raw/81deeb1ebc4945952c30af5bb75fe222a18d975c/abaqus_half_circle_3d.inp",
joinpath(@__DIR__, "abaqus_half_circle_3d.inp"))

mesh = P4estMesh{3}(mesh_file, initial_refinement_level = 0)

Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@

using Downloads: download
using OrdinaryDiffEq
using Trixi

Expand Down
Loading
Loading