Generic Jiang-Shu WENO reconstruction for odd-width schemes.
Applies the standard Jiang-Shu nonlinear weights alpha_k = d_k / (eps + beta_k)^2 to the candidate reconstructions supplied by @p coeffs and @p beta_mats.
(candidate_width x n_candidate)
(candidate_width x candidate_width x n_candidate)
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| real(kind=wp), | intent(in) | :: | f_stencil(:,:) | |||
| real(kind=wp), | intent(in) | :: | coeffs(:,:) | |||
| real(kind=wp), | intent(in) | :: | beta_mats(:,:,:) | |||
| real(kind=wp), | intent(in) | :: | linear_weights(:) | |||
| real(kind=wp), | intent(out) | :: | f_hat(:) |