linear_weno7_reconstruct Subroutine

public pure subroutine linear_weno7_reconstruct(f_stencil, f_hat)

7th-order linear WENO reconstruction on a 7-point stencil.

Applies the optimal weights d7_0=1/35, d7_1=12/35, d7_2=18/35, d7_3=4/35 to the four 4th-order substencil approximations from Balsara & Shu (2000) without nonlinear smoothness weighting.

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(:)