Appearance
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
| Name | Type | Attributes | Description |
|---|---|---|---|
S | integer(kind=I4P) | parameter | WENO stencil half-width of the split test. |
NR | integer(kind=I4P) | parameter | Pointwise results per state and direction. |
NS | integer(kind=I4P) | parameter | Split results per state and direction. |
GAMMA | real(kind=R8P) | parameter | Specific heats ratio. |
R | real(kind=R8P) | parameter | Gas 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
| Name | Type | Intent | Attributes | Description |
|---|---|---|---|---|
d | integer(kind=I4P) | in | Direction. | |
prim | real(kind=R8P) | in | Stencil of primitive states. | |
res | real(kind=R8P) | out | Pointwise results. | |
split | real(kind=R8P) | out | Split results. |
Call graph