Skip to content

Commit a03829c

Browse files
svchbefaulhaber
andauthored
Fix doc test (#816)
* Fix doc test * forgot something * fix * fix * fix * fix * fix * fix * Update docs/src/gpu.md Co-authored-by: Erik Faulhaber <44124897+efaulhaber@users.noreply.github.com> --------- Co-authored-by: Erik Faulhaber <44124897+efaulhaber@users.noreply.github.com>
1 parent d4f8af7 commit a03829c

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

docs/src/gpu.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,13 +13,14 @@ Unlike the default cell list, which assumes an unbounded domain,
1313
this cell list requires a bounding box for the domain.
1414
For simulations that are bounded by a closed tank, we can simply use the boundary
1515
of the tank to obtain the bounding box as follows.
16-
```jldoctest gpu; output=false, setup=:(using TrixiParticles; trixi_include(@__MODULE__, joinpath(examples_dir(), "fluid", "hydrostatic_water_column_2d.jl"), sol=nothing))
16+
```jldoctest gpu; output=false, filter = r"FullGridCellList{PointNeighbors.DynamicVectorOfVectors{.*", setup=:(using TrixiParticles; trixi_include(@__MODULE__, joinpath(examples_dir(), "fluid", "hydrostatic_water_column_2d.jl"), sol=nothing))
1717
min_corner = minimum(tank.boundary.coordinates, dims=2)
1818
max_corner = maximum(tank.boundary.coordinates, dims=2)
1919
cell_list = FullGridCellList(; min_corner, max_corner)
2020
2121
# output
22-
FullGridCellList{PointNeighbors.DynamicVectorOfVectors{Int32, Matrix{Int32}, Vector{Int32}, Base.RefValue{Int32}}, Nothing, SVector{2, Float64}, SVector{2, Float64}}(Vector{Int32}[], nothing, [-0.12500000000000003, -0.12500000000000003], [1.125, 1.125])
22+
FullGridCellList{PointNeighbors.DynamicVectorOfVectors{...}(...)
23+
2324
```
2425

2526
We then need to pass this cell list to the neighborhood search and the neighborhood search

0 commit comments

Comments
 (0)