Skip to content

fundal_weno5_kernels_r8_real

Source: src/third_party/FUNDAL/src/tests/precision/fundal_weno5_kernels_r8_real.F90

Dependencies

Contents

Subroutines

ghost_fill_r8_real

Periodic ghost fill, same as V1 ghost_fill_r8 — c is one of the collapsed parallel dims here because ghost fill has no inter-c coupling (the nonlinear constraint is on the rhs flux, not on boundary copies). Kept verbatim from V1 for fairness.

fortran
subroutine ghost_fill_r8_real(U, nb, ni, ng, nc)

Arguments

NameTypeIntentAttributesDescription
Ureal(kind=R8P)inout
nbinteger(kind=I4P)in
niinteger(kind=I4P)in
nginteger(kind=I4P)in
ncinteger(kind=I4P)in

weno5_rhs_r8_real

Same FP64 WENO5 rhs as V1 but with c sequential inside the parallel region. Mirrors the structure of V3fA-F (storage A, loop order F) so the V1' / V3fA-F comparison is the apples-to- apples one for the "realistic CFD" question.

fortran
subroutine weno5_rhs_r8_real(U, rhs, nb, ni, ng, nc)

Arguments

NameTypeIntentAttributesDescription
Ureal(kind=R8P)in
rhsreal(kind=R8P)out
nbinteger(kind=I4P)in
niinteger(kind=I4P)in
nginteger(kind=I4P)in
ncinteger(kind=I4P)in

Call graph

rk1_update_r8_real

RK1 update with c sequential (matching the V1' parallelism surface).

fortran
subroutine rk1_update_r8_real(U, rhs, dt, nb, ni, ng, nc)

Arguments

NameTypeIntentAttributesDescription
Ureal(kind=R8P)inout
rhsreal(kind=R8P)in
dtreal(kind=R8P)in
nbinteger(kind=I4P)in
niinteger(kind=I4P)in
nginteger(kind=I4P)in
ncinteger(kind=I4P)in