weno7_js_reconstruct Subroutine

public pure subroutine weno7_js_reconstruct(f_stencil, f_hat)

Perform WENO7-JS reconstruction on the supplied stencil.

Applies WENO7 reconstruction component-wise to a 7-point stencil.

Stencil indices 1..7 = {v_{i-3}, ..., v_{i+3}}, centre at index 4.

Substencil approximations (Balsara & Shu, 2000): q0 = -(1/4)v1 + (13/12)v2 - (23/12)v3 + (25/12)v4 q1 = (1/12)v2 - (5/12)v3 + (13/12)v4 + (1/4)v5 q2 = -(1/12)v3 + (7/12)v4 + (7/12)v5 - (1/12)v6 q3 = (1/4)v4 + (13/12)v5 - (5/12)v6 + (1/12)v7

Arguments

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