@@ -26,38 +26,18 @@ internal function `eachneighbor`.
2626
2727 To run a simulation with this neighborhood search, just pass the type to the constructor
2828 of [`Semidiscretization`](@ref):
29- ```jldoctest semi_example; output=false, setup = :(trixi_include(@__MODULE__, joinpath(examples_dir(), "fluid", "hydrostatic_water_column_2d.jl"), sol=nothing); system1 = fluid_system; system2 = boundary_system)
29+ ```julia
3030 semi = Semidiscretization(system1, system2,
3131 neighborhood_search=TrivialNeighborhoodSearch)
32-
33- # output
34- ┌──────────────────────────────────────────────────────────────────────────────────────────────────┐
35- │ Semidiscretization │
36- │ ══════════════════ │
37- │ #spatial dimensions: ………………………… 2 │
38- │ #systems: ……………………………………………………… 2 │
39- │ neighborhood search: ………………………… TrivialNeighborhoodSearch │
40- │ total #particles: ………………………………… 636 │
41- └──────────────────────────────────────────────────────────────────────────────────────────────────┘
4232 ```
4333 The keyword arguments `periodic_box_min_corner` and `periodic_box_max_corner` explained
4434 above can also be passed to the [`Semidiscretization`](@ref) and will internally be
4535 forwarded to the neighborhood search:
46- ```jldoctest semi_example; output = false
36+ ```julia
4737 semi = Semidiscretization(system1, system2,
4838 neighborhood_search=TrivialNeighborhoodSearch,
4939 periodic_box_min_corner=[0.0, -0.25],
5040 periodic_box_max_corner=[1.0, 0.75])
51-
52- # output
53- ┌──────────────────────────────────────────────────────────────────────────────────────────────────┐
54- │ Semidiscretization │
55- │ ══════════════════ │
56- │ #spatial dimensions: ………………………… 2 │
57- │ #systems: ……………………………………………………… 2 │
58- │ neighborhood search: ………………………… TrivialNeighborhoodSearch │
59- │ total #particles: ………………………………… 636 │
60- └──────────────────────────────────────────────────────────────────────────────────────────────────┘
6141 ```
6242"""
6343struct TrivialNeighborhoodSearch{NDIMS, ELTYPE, EP, PB}
0 commit comments