Appearance
test_flume_mhd_riemann_fnl_kernels
Unit test RV-0 (MHD, device half) of the FLUME MHD Riemann solvers: the evaluation routine run on host and device.
Module-level (not a contains-internal procedure): device routines must be module procedures.
Source: src/tests/flume/unit/test_flume_mhd_riemann_fnl.F90
Dependencies
Contents
Variables
| Name | Type | Attributes | Description |
|---|---|---|---|
NR | integer(kind=I4P) | parameter | Results per pair and direction: nine fluxes, three |
IFB1 | integer(kind=I4P) | parameter | Result index of the HLLD fallback flag (no divergence control). |
IFB2 | integer(kind=I4P) | parameter | Result index of the HLLD fallback flag (GLM). |
IFB3 | integer(kind=I4P) | parameter | Result index of the HLLD fallback flag (EGLM). |
GAMMA | real(kind=R8P) | parameter | Specific heats ratio. |
CH | real(kind=R8P) | parameter | GLM cleaning speed. |
Subroutines
evaluate
Evaluate the nine solvers on one pair of primitive states prim(1:9,1:2) (psi the ninth), direction d; the EGLM states are the GLM ones with psi^2 / 2 added to the energy.
fortran
subroutine evaluate(d, prim, res)Arguments
| Name | Type | Intent | Attributes | Description |
|---|---|---|---|---|
d | integer(kind=I4P) | in | Direction. | |
prim | real(kind=R8P) | in | Primitive states of the pair. | |
res | real(kind=R8P) | out | Results. |
Call graph