weno5_js_reconstruct Subroutine

public pure subroutine weno5_js_reconstruct(f_stencil, f_hat)

Perform WENO5-JS reconstruction on the supplied stencil.

Applies WENO5-JS reconstruction component-wise to a 5-point stencil. The stencil may be in physical or characteristic space depending on whether spatial_discretization applied characteristic projection first.

Nonlinear weight formula (Jiang & Shu 1996, Eq. 22): omega_tilde_k = d_k / (eps + beta_k)^2 omega_k = omega_tilde_k / sum(omega_tilde)

Arguments

Type IntentOptional Attributes Name
real(kind=wp), intent(in) :: f_stencil(:,:)
real(kind=wp), intent(out) :: f_hat(:)