Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
14 changes: 7 additions & 7 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,44 +59,44 @@ jobs:
t8code_version:
- '4.0.0'
t8code_snapshot:
- '26.09'
- '26.11'
include:
- julia-version: '1.10'
julia-arch: 'default'
os: macos-latest
mpi-provider: JLL_MPI
t8code_version: '4.0.0'
t8code_snapshot: '26.09'
t8code_snapshot: '26.11'
- julia-version: '1'
julia-arch: 'default'
os: macos-latest
mpi-provider: JLL_MPI
t8code_version: '4.0.0'
t8code_snapshot: '26.09'
t8code_snapshot: '26.11'
- julia-version: 'nightly'
julia-arch: 'default'
os: macos-latest
mpi-provider: JLL_MPI
t8code_version: '4.0.0'
t8code_snapshot: '26.09'
t8code_snapshot: '26.11'
- julia-version: '1.10'
julia-arch: 'x64'
os: ubuntu-latest
mpi-provider: SYSTEM_MPI
t8code_version: '4.0.0'
t8code_snapshot: '26.09'
t8code_snapshot: '26.11'
- julia-version: '1'
julia-arch: 'x64'
os: ubuntu-latest
mpi-provider: SYSTEM_MPI
t8code_version: '4.0.0'
t8code_snapshot: '26.09'
t8code_snapshot: '26.11'
- julia-version: 'nightly'
julia-arch: 'x64'
os: ubuntu-latest
mpi-provider: SYSTEM_MPI
t8code_version: '4.0.0'
t8code_snapshot: '26.09'
t8code_snapshot: '26.11'
steps:
- name: Checkout repository
uses: actions/checkout@v7
Expand Down
4 changes: 2 additions & 2 deletions Project.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name = "T8code"
uuid = "d0cc0030-9a40-4274-8435-baadcfd54fa1"
authors = ["Johannes Markert <johannes.markert@dlr.de>"]
version = "0.10.2"
version = "0.11.0"

[deps]
CEnum = "fa961155-64e5-5f13-b03f-caf6b980ea82"
Expand All @@ -22,4 +22,4 @@ Preferences = "1.2.1"
Reexport = "0.2, 1.0"
UUIDs = "1"
julia = "1.10"
t8code_jll = "=4.0.10"
t8code_jll = "=4.0.11"
7 changes: 3 additions & 4 deletions dev/Artifacts.toml
Original file line number Diff line number Diff line change
@@ -1,11 +1,10 @@
[[t8code]]
arch = "x86_64"
git-tree-sha1 = "bcc937eb6f112138a6abd4db857c3978195efbba"
lazy = true
Comment thread
benegee marked this conversation as resolved.
Resolved
git-tree-sha1 = "7d37c5d231d3caa3cc900adf851c6f2a85159bbb"
libc = "glibc"
mpi = "mpich"
os = "linux"

[[t8code.download]]
sha256 = "739c67bf7437ba303d4e9c11744fa6ccd323e49f831c1a809e034c8fe7a8a777"
url = "https://github.com/JuliaBinaryWrappers/t8code_jll.jl/releases/download/t8code-v4.0.10+0/t8code.v4.0.10.x86_64-linux-gnu-mpi+mpich.tar.gz"
sha256 = "05a95e1f30b33df19b386d33798204b539c53af5b88bbff6fde46b6f8cbbab37"
url = "https://github.com/JuliaBinaryWrappers/t8code_jll.jl/releases/download/t8code-v4.0.11+0/t8code.v4.0.11.x86_64-linux-gnu-mpi+mpich.tar.gz"
26 changes: 13 additions & 13 deletions dev/Manifest.toml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

12 changes: 6 additions & 6 deletions examples/t8_step5_element_data.jl
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,9 @@ function t8_step5_output_data_to_vtu(forest, element_data, prefix)
# WARNING: This code hangs for Julia v1.8.* or older. Use at least Julia v1.9.
# For each user defined data field we need one t8_vtk_data_field_t variable.
vtk_data = t8_vtk_data_field_t(T8_VTK_SCALAR, # Set the type of this variable. Since we have one value per element, we pick T8_VTK_SCALAR.
NTuple{8192, Cchar}(rpad("Element volume\0", 8192, ' ')), # The name of the field as should be written to the file.
NTuple{T8_VTK_MAX_STRING_LENGTH, Cchar}(rpad("Element volume\0",
T8_VTK_MAX_STRING_LENGTH,
' ')), # The name of the field as should be written to the file.
pointer(element_volumes))

# To write user defined data, we need to extended output function
Expand Down Expand Up @@ -278,11 +280,9 @@ if t8_forest_get_num_ghosts(forest) > 0
end

# Output the volume data to vtu.
if !(CI_ON_WINDOWS || CI_ON_MACOS)
t8_step5_output_data_to_vtu(forest, element_data, prefix_forest_with_data)
t8_global_productionf(" [step5] Wrote forest and volume data to %s*.\n",
prefix_forest_with_data)
end
t8_step5_output_data_to_vtu(forest, element_data, prefix_forest_with_data)
t8_global_productionf(" [step5] Wrote forest and volume data to %s*.\n",
prefix_forest_with_data)

#
# Clean-up.
Expand Down
18 changes: 11 additions & 7 deletions examples/t8_step6_stencil.jl
Original file line number Diff line number Diff line change
Expand Up @@ -340,13 +340,19 @@ function t8_step6_output_data_to_vtu(forest, element_data, prefix)
# WARNING: This code hangs for Julia v1.8.* or older. Use at least Julia v1.9.
vtk_data = [
t8_vtk_data_field_t(T8_VTK_SCALAR,
NTuple{8192, Cchar}(rpad("height\0", 8192, ' ')),
NTuple{T8_VTK_MAX_STRING_LENGTH, Cchar}(rpad("height\0",
T8_VTK_MAX_STRING_LENGTH,
' ')),
pointer(heights)),
t8_vtk_data_field_t(T8_VTK_SCALAR,
NTuple{8192, Cchar}(rpad("schlieren\0", 8192, ' ')),
NTuple{T8_VTK_MAX_STRING_LENGTH, Cchar}(rpad("schlieren\0",
T8_VTK_MAX_STRING_LENGTH,
' ')),
pointer(schlieren)),
t8_vtk_data_field_t(T8_VTK_SCALAR,
NTuple{8192, Cchar}(rpad("curvature\0", 8192, ' ')),
NTuple{T8_VTK_MAX_STRING_LENGTH, Cchar}(rpad("curvature\0",
T8_VTK_MAX_STRING_LENGTH,
' ')),
pointer(curvature))
]

Expand Down Expand Up @@ -403,10 +409,8 @@ t8_step6_exchange_ghost_data(forest, element_data)
t8_step6_compute_stencil(forest, element_data)

# Output the data to vtu files.
if !(CI_ON_WINDOWS || CI_ON_MACOS)
t8_step6_output_data_to_vtu(forest, element_data, prefix_forest_with_data)
t8_global_productionf(" Wrote forest and data to %s*.\n", prefix_forest_with_data)
end
t8_step6_output_data_to_vtu(forest, element_data, prefix_forest_with_data)
t8_global_productionf(" Wrote forest and data to %s*.\n", prefix_forest_with_data)

#
# Clean-up
Expand Down
Loading
Loading