This module contains basic flux schemes for scalar problems. They are mostly intented to help test the other modules. The WENO schemes themselves are applicable to scalar and multiple component problems. Source: ICASE 97-65 by Shu, 1997.
Monotone Lax-Friedrichs flux. It is more dissipative than the Godunov method, but computationally less demanding. Source: Equation 2.72, page 21.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
procedure(flux) | :: | f |
flux function, |
|||
real(kind=rk), | intent(in) | :: | vm |
left (minus) reconstruction, |
||
real(kind=rk), | intent(in) | :: | vp |
right (plus) reconstruction, |
||
real(kind=rk), | intent(in) | :: | x(:) |
at flux interface, |
||
real(kind=rk), | intent(in) | :: | t |
time, |
||
real(kind=rk), | intent(in) | :: | alpha |
in the domain on the problem |
Monotone Godunov flux. It is less dissipative than the Lax-Friedrichs method, but computationally more demanding because of the if constructs. Source: Equation 2.70, page 21.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
procedure(flux) | :: | f |
flux function, |
|||
real(kind=rk), | intent(in) | :: | vm |
left (minus) reconstruction, |
||
real(kind=rk), | intent(in) | :: | vp |
right (plus) reconstruction, |
||
real(kind=rk), | intent(in) | :: | x(:) |
at flux interface, |
||
real(kind=rk), | intent(in) | :: | t |
time, |