Skip to content

test_flume_euler_library_fnl_kernels ​

Unit test V0 (device half) of the FLUME Euler library: the evaluation routine run on both host and device.

Module-level (not a contains-internal procedure): device routines must be module procedures.

Source: src/tests/flume/unit/test_flume_euler_library_fnl.F90

Dependencies

Contents ​

Variables ​

NameTypeAttributesDescription
Sinteger(kind=I4P)parameterWENO stencil half-width of the split test.
NRinteger(kind=I4P)parameterPointwise results per state and direction.
NSinteger(kind=I4P)parameterSplit results per state and direction.
GAMMAreal(kind=R8P)parameterSpecific heats ratio.
Rreal(kind=R8P)parameterGas constant.

Subroutines ​

evaluate ​

Evaluate the library on one stencil of primitive states, direction d: pointwise results of cell 0 and the split fields of the whole stencil.

fortran
subroutine evaluate(d, prim, res, split)

Arguments

NameTypeIntentAttributesDescription
dinteger(kind=I4P)inDirection.
primreal(kind=R8P)inStencil of primitive states.
resreal(kind=R8P)outPointwise results.
splitreal(kind=R8P)outSplit results.

Call graph