Skip to content

adam_weno_nvf_kernels

ADAM, WENO class NVF kernels (NVF backend of weno_nvf_object).

Source: src/lib/nvf/adam_weno_nvf_kernels.F90

Dependencies

Contents

Subroutines

weno_reconstruct_upwind_device

Reconstruct by WENO upwind method of 2S-1 order, non TBP.

fortran
subroutine weno_reconstruct_upwind_device(S, weno_a, weno_p, weno_d, weno_zeps, V, VR)

Arguments

NameTypeIntentAttributesDescription
Sinteger(kind=I4P)inNumber of stencils used.
weno_areal(kind=R8P)indeviceOptimal weights.
weno_preal(kind=R8P)indevicePolinomials coefficients.
weno_dreal(kind=R8P)indeviceSmoothness indicators coefficients.
weno_zepsreal(kind=R8P)inParameter for avoiding division by zero in computing IS.
Vreal(kind=R8P)inVariables to be reconstructed.
VRreal(kind=R8P)outLeft and right (1,2) interface value of reconstructed V.

Call graph

weno_compute_convolution_device

Compute WENO convulution, non TBP.

fortran
subroutine weno_compute_convolution_device(S, VP, w, VR)

Arguments

NameTypeIntentAttributesDescription
Sinteger(kind=I4P)inNumber of stencils used.
VPreal(kind=R8P)inPolynomial reconstructions.
wreal(kind=R8P)inWeights of the stencils.
VRreal(kind=R8P)outLeft and right (1,2) interface value of reconstructed V.

Call graph

weno_compute_polynomials_device

Compute WENO polynomials, non TBP.

fortran
subroutine weno_compute_polynomials_device(S, weno_p, V, VP)

Arguments

NameTypeIntentAttributesDescription
Sinteger(kind=I4P)inNumber of stencils used.
weno_preal(kind=R8P)indevicePolinomials coefficients.
Vreal(kind=R8P)inVariable to be reconstructed.
VPreal(kind=R8P)outPolynomial reconstructions.

Call graph

weno_compute_weights_device

Compute WENO weights, non TBP.

fortran
subroutine weno_compute_weights_device(S, weno_a, weno_d, weno_zeps, V, w)

Arguments

NameTypeIntentAttributesDescription
Sinteger(kind=I4P)inNumber of stencils used.
weno_areal(kind=R8P)indeviceOptimal weights.
weno_dreal(kind=R8P)indeviceSmoothness indicators coefficients.
weno_zepsreal(kind=R8P)inParameter for avoiding division by zero in computing IS.
Vreal(kind=R8P)inVariable to be reconstructed.
wreal(kind=R8P)outWeights of the stencils.

Call graph