Skip to content

adam_fnl_weno_width_kernels ​

ADAM, WENO class FNL kernels, one reconstruction routine per stencil width (S a named constant).

weno_reconstruct_upwind_s<N>_dev (weno_reconstruct_upwind_wratio_s<N>_dev) is weno_reconstruct_upwind_dev (weno_reconstruct_upwind_wratio_dev) of adam_fnl_weno_kernels for the half-width S = N (WENO-1 ... WENO-9, S_MAX = 5) without the argument S: the face kernels of the same width (..._s<N>_dev of the FLUME FNL backend) call them. The generic routines stay for the callers whose width is a run-time value (the generic _sn_dev kernels, NASTO's reduced-order fallback, RIPPLE). Both are bitwise the generic ones: the body is one include, adam_fnl_weno_width_body.INC, and keeps the order of every operation.

Source: src/lib/fnl/adam_fnl_weno_width_kernels.F90

Dependencies

Contents ​

Subroutines ​

weno_reconstruct_upwind_s1_dev ​

Reconstruct by WENO upwind method of 1 order, S = 1 a compile-time constant, non TBP.

fortran
subroutine weno_reconstruct_upwind_s1_dev(weno_a, weno_p, weno_d, weno_zeps, weno_rmu, V, VR)

Arguments

NameTypeIntentAttributesDescription
weno_areal(kind=R8P)inOptimal weights.
weno_preal(kind=R8P)inPolinomials coefficients.
weno_dreal(kind=R8P)inSmoothness indicators coefficients.
weno_zepsreal(kind=R8P)inParameter for avoiding division by zero in computing IS.
weno_rmureal(kind=R8P)inInverse of the descaler (1: Jiang-Shu weights).
Vreal(kind=R8P)inVariables to be reconstructed.
VRreal(kind=R8P)outLeft and right (1,2) interface value of reconstructed V.

Call graph

weno_reconstruct_upwind_s2_dev ​

Reconstruct by WENO upwind method of 3 order, S = 2 a compile-time constant, non TBP.

fortran
subroutine weno_reconstruct_upwind_s2_dev(weno_a, weno_p, weno_d, weno_zeps, weno_rmu, V, VR)

Arguments

NameTypeIntentAttributesDescription
weno_areal(kind=R8P)inOptimal weights.
weno_preal(kind=R8P)inPolinomials coefficients.
weno_dreal(kind=R8P)inSmoothness indicators coefficients.
weno_zepsreal(kind=R8P)inParameter for avoiding division by zero in computing IS.
weno_rmureal(kind=R8P)inInverse of the descaler (1: Jiang-Shu weights).
Vreal(kind=R8P)inVariables to be reconstructed.
VRreal(kind=R8P)outLeft and right (1,2) interface value of reconstructed V.

Call graph

weno_reconstruct_upwind_s3_dev ​

Reconstruct by WENO upwind method of 5 order, S = 3 a compile-time constant, non TBP.

fortran
subroutine weno_reconstruct_upwind_s3_dev(weno_a, weno_p, weno_d, weno_zeps, weno_rmu, V, VR)

Arguments

NameTypeIntentAttributesDescription
weno_areal(kind=R8P)inOptimal weights.
weno_preal(kind=R8P)inPolinomials coefficients.
weno_dreal(kind=R8P)inSmoothness indicators coefficients.
weno_zepsreal(kind=R8P)inParameter for avoiding division by zero in computing IS.
weno_rmureal(kind=R8P)inInverse of the descaler (1: Jiang-Shu weights).
Vreal(kind=R8P)inVariables to be reconstructed.
VRreal(kind=R8P)outLeft and right (1,2) interface value of reconstructed V.

Call graph

weno_reconstruct_upwind_s4_dev ​

Reconstruct by WENO upwind method of 7 order, S = 4 a compile-time constant, non TBP.

fortran
subroutine weno_reconstruct_upwind_s4_dev(weno_a, weno_p, weno_d, weno_zeps, weno_rmu, V, VR)

Arguments

NameTypeIntentAttributesDescription
weno_areal(kind=R8P)inOptimal weights.
weno_preal(kind=R8P)inPolinomials coefficients.
weno_dreal(kind=R8P)inSmoothness indicators coefficients.
weno_zepsreal(kind=R8P)inParameter for avoiding division by zero in computing IS.
weno_rmureal(kind=R8P)inInverse of the descaler (1: Jiang-Shu weights).
Vreal(kind=R8P)inVariables to be reconstructed.
VRreal(kind=R8P)outLeft and right (1,2) interface value of reconstructed V.

Call graph

weno_reconstruct_upwind_s5_dev ​

Reconstruct by WENO upwind method of 9 order, S = 5 a compile-time constant, non TBP.

fortran
subroutine weno_reconstruct_upwind_s5_dev(weno_a, weno_p, weno_d, weno_zeps, weno_rmu, V, VR)

Arguments

NameTypeIntentAttributesDescription
weno_areal(kind=R8P)inOptimal weights.
weno_preal(kind=R8P)inPolinomials coefficients.
weno_dreal(kind=R8P)inSmoothness indicators coefficients.
weno_zepsreal(kind=R8P)inParameter for avoiding division by zero in computing IS.
weno_rmureal(kind=R8P)inInverse of the descaler (1: Jiang-Shu weights).
Vreal(kind=R8P)inVariables to be reconstructed.
VRreal(kind=R8P)outLeft and right (1,2) interface value of reconstructed V.

Call graph

weno_reconstruct_upwind_wratio_s1_dev ​

Reconstruct by WENO upwind method of 1 order, returning also the smoothness ratio of each interface, S = 1 a compile-time constant, non TBP.

fortran
subroutine weno_reconstruct_upwind_wratio_s1_dev(weno_a, weno_p, weno_d, weno_zeps, weno_rmu, V, VR, WRATIO)

Arguments

NameTypeIntentAttributesDescription
weno_areal(kind=R8P)inOptimal weights.
weno_preal(kind=R8P)inPolinomials coefficients.
weno_dreal(kind=R8P)inSmoothness indicators coefficients.
weno_zepsreal(kind=R8P)inParameter for avoiding division by zero in computing IS.
weno_rmureal(kind=R8P)inInverse of the descaler (1: Jiang-Shu weights).
Vreal(kind=R8P)inVariables to be reconstructed.
VRreal(kind=R8P)outLeft and right (1,2) interface value of reconstructed V.
WRATIOreal(kind=R8P)outLeft and right (1,2) interface smoothness ratio.

Call graph

weno_reconstruct_upwind_wratio_s2_dev ​

Reconstruct by WENO upwind method of 3 order, returning also the smoothness ratio of each interface, S = 2 a compile-time constant, non TBP.

fortran
subroutine weno_reconstruct_upwind_wratio_s2_dev(weno_a, weno_p, weno_d, weno_zeps, weno_rmu, V, VR, WRATIO)

Arguments

NameTypeIntentAttributesDescription
weno_areal(kind=R8P)inOptimal weights.
weno_preal(kind=R8P)inPolinomials coefficients.
weno_dreal(kind=R8P)inSmoothness indicators coefficients.
weno_zepsreal(kind=R8P)inParameter for avoiding division by zero in computing IS.
weno_rmureal(kind=R8P)inInverse of the descaler (1: Jiang-Shu weights).
Vreal(kind=R8P)inVariables to be reconstructed.
VRreal(kind=R8P)outLeft and right (1,2) interface value of reconstructed V.
WRATIOreal(kind=R8P)outLeft and right (1,2) interface smoothness ratio.

Call graph

weno_reconstruct_upwind_wratio_s3_dev ​

Reconstruct by WENO upwind method of 5 order, returning also the smoothness ratio of each interface, S = 3 a compile-time constant, non TBP.

fortran
subroutine weno_reconstruct_upwind_wratio_s3_dev(weno_a, weno_p, weno_d, weno_zeps, weno_rmu, V, VR, WRATIO)

Arguments

NameTypeIntentAttributesDescription
weno_areal(kind=R8P)inOptimal weights.
weno_preal(kind=R8P)inPolinomials coefficients.
weno_dreal(kind=R8P)inSmoothness indicators coefficients.
weno_zepsreal(kind=R8P)inParameter for avoiding division by zero in computing IS.
weno_rmureal(kind=R8P)inInverse of the descaler (1: Jiang-Shu weights).
Vreal(kind=R8P)inVariables to be reconstructed.
VRreal(kind=R8P)outLeft and right (1,2) interface value of reconstructed V.
WRATIOreal(kind=R8P)outLeft and right (1,2) interface smoothness ratio.

Call graph

weno_reconstruct_upwind_wratio_s4_dev ​

Reconstruct by WENO upwind method of 7 order, returning also the smoothness ratio of each interface, S = 4 a compile-time constant, non TBP.

fortran
subroutine weno_reconstruct_upwind_wratio_s4_dev(weno_a, weno_p, weno_d, weno_zeps, weno_rmu, V, VR, WRATIO)

Arguments

NameTypeIntentAttributesDescription
weno_areal(kind=R8P)inOptimal weights.
weno_preal(kind=R8P)inPolinomials coefficients.
weno_dreal(kind=R8P)inSmoothness indicators coefficients.
weno_zepsreal(kind=R8P)inParameter for avoiding division by zero in computing IS.
weno_rmureal(kind=R8P)inInverse of the descaler (1: Jiang-Shu weights).
Vreal(kind=R8P)inVariables to be reconstructed.
VRreal(kind=R8P)outLeft and right (1,2) interface value of reconstructed V.
WRATIOreal(kind=R8P)outLeft and right (1,2) interface smoothness ratio.

Call graph

weno_reconstruct_upwind_wratio_s5_dev ​

Reconstruct by WENO upwind method of 9 order, returning also the smoothness ratio of each interface, S = 5 a compile-time constant, non TBP.

fortran
subroutine weno_reconstruct_upwind_wratio_s5_dev(weno_a, weno_p, weno_d, weno_zeps, weno_rmu, V, VR, WRATIO)

Arguments

NameTypeIntentAttributesDescription
weno_areal(kind=R8P)inOptimal weights.
weno_preal(kind=R8P)inPolinomials coefficients.
weno_dreal(kind=R8P)inSmoothness indicators coefficients.
weno_zepsreal(kind=R8P)inParameter for avoiding division by zero in computing IS.
weno_rmureal(kind=R8P)inInverse of the descaler (1: Jiang-Shu weights).
Vreal(kind=R8P)inVariables to be reconstructed.
VRreal(kind=R8P)outLeft and right (1,2) interface value of reconstructed V.
WRATIOreal(kind=R8P)outLeft and right (1,2) interface smoothness ratio.

Call graph