@@ -72,19 +72,19 @@ Base.real(rd::RefElemData) = eltype(rd.r)
7272
7373Create a discontinuous Galerkin method which uses
7474- Approximations of polynomial degree `polydeg`.
75- - Element type `element_type` (`Tri()`, `Quad()`, `Tet()`, `Hex()`, and `Wedge()` are
75+ - Element type `element_type` (`Tri()`, `Quad()`, `Tet()`, `Hex()`, and `Wedge()` are
7676 currently supported)
7777
7878Optional:
79- - `approximation_type` (default is `Polynomial()`; `SBP()` also supported for `Tri()`,
79+ - `approximation_type` (default is `Polynomial()`; `SBP()` also supported for `Tri()`,
8080 `Quad()`, and `Hex()` element types).
81- - `RefElemData_kwargs` are additional keyword arguments for `RefElemData`, such as
81+ - `RefElemData_kwargs` are additional keyword arguments for `RefElemData`, such as
8282 `quad_rule_vol`.
83-
83+
8484For more info, see the [StartUpDG.jl docs](https://jlchan.github.io/StartUpDG.jl/dev/).
8585
8686!!! note "Wedge elements"
87- For `Wedge` elements (i.e. triangular prisms), the polynomial degree may optionally be
87+ For `Wedge` elements (i.e. triangular prisms), the polynomial degree may optionally be
8888 specified as a tuple of the form `polydeg = (polydeg_tri, polydeg_line)`.
8989"""
9090function DGMulti (; polydeg = nothing ,
@@ -100,9 +100,9 @@ function DGMulti(; polydeg = nothing,
100100 polydeg = polydeg, kwargs... )
101101end
102102
103- # `Wedge` element types can optionally take `polydeg = (polydeg_tri, polydeg_line)`, which
103+ # `Wedge` element types can optionally take `polydeg = (polydeg_tri, polydeg_line)`, which
104104# constructs a `TensorProductWedge` approximation. Since Julia does not dispatch on keyword
105- # arguments, we wrap a method which makes `polydeg` a positional argument.
105+ # arguments, we wrap a method which makes `polydeg` a positional argument.
106106function DGMulti (element_type:: Wedge ,
107107 approximation_type,
108108 volume_integral,
376376function SimpleKronecker (NDIMS, A, eltype_A = eltype (A))
377377 @assert size (A, 1 ) == size (A, 2 ) # check if square
378378 tmp_storage = [zeros (eltype_A, ntuple (_ -> size (A, 2 ), NDIMS)... )
379- for _ in 1 : Threads. nthreads ()]
379+ for _ in 1 : Threads. maxthreadid ()]
380380 return SimpleKronecker {NDIMS, typeof(A), typeof(tmp_storage)} (A, tmp_storage)
381381end
382382
0 commit comments