You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
WENOScheme(u::AbstractField{T, N}, grid; boundary=(2, 2), stag=true, multithreading=false) where {T, N}
13
13
14
14
Create a WENO scheme structure for the given field `u` on the specified `grid` using Chmy.jl.
15
15
@@ -18,9 +18,9 @@ module ChmyExt1D
18
18
- `grid::StructuredGrid`: The computational grid.
19
19
- `boundary::NTuple{2N, Int}`: A tuple specifying the boundary conditions for each dimension (0: homogeneous Neumann, 1: homogeneous Dirichlet, 2: periodic). Default is periodic (2).
20
20
- `stag::Bool`: Whether the grid is staggered (velocities on cell faces) or not (velocities on cell centers).
21
-
- `weno_z::Bool`: Whether to use the WENO-Z formulation (Borges et al. 2008) or not. Default is true.
21
+
- `multithreading::Bool`: Whether to use multithreading (only for 2D and 3D). Default is false.
22
22
"""
23
-
functionWENOScheme(u::AbstractField{T, N}, grid; boundary=(2, 2), stag=true, weno_z=true) where {T, N}
23
+
functionWENOScheme(u::AbstractField{T, N}, grid; boundary=(2, 2), stag=true) where {T, N}
24
24
25
25
# check that boundary conditions are correctly defined
26
26
@assertlength(boundary) ==2N "Boundary conditions must be a tuple of length $(2N) for $(N)D data."
0 commit comments