Applies the WENO5 and WENO7 substencil reconstructions using fixed optimal weights d_k (constants), bypassing the nonlinear beta-based weighting. In smooth regions the nonlinear WENO weights converge to d_k anyway; using them directly eliminates the residual dissipation from imperfect weight matching and preserves the full formal order of accuracy:
Both subroutines match reconstructor_iface and may be used as drop-in replacements for the nonlinear variants in smooth regions.
References: [1] G.-S. Jiang and C.-W. Shu, J. Comput. Phys., 126:202-228, 1996. [2] D. S. Balsara and C.-W. Shu, J. Comput. Phys., 160:405-452, 2000.
5th-order linear WENO reconstruction on a 5-point stencil.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| real(kind=wp), | intent(in) | :: | f_stencil(:,:) | |||
| real(kind=wp), | intent(out) | :: | f_hat(:) |
7th-order linear WENO reconstruction on a 7-point stencil.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| real(kind=wp), | intent(in) | :: | f_stencil(:,:) | |||
| real(kind=wp), | intent(out) | :: | f_hat(:) |