Module to collecting all data types and subroutines which are related to flux calculations.
Calculate the HLL flux given the left an right state.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(atl_euler_type), | intent(in) | :: | euler | |||
real(kind=rk), | intent(in) | :: | state_left(:,:) |
The state on the face from its left limit (in conservative variables). |
||
real(kind=rk), | intent(in) | :: | state_right(:,:) |
The state on the face from its right limit (in conservative variables). |
||
real(kind=rk), | intent(in) | :: | material_left(:,:) |
The left value of the characteristic function (stemming from penalization) |
||
real(kind=rk), | intent(in) | :: | material_right(:,:) |
The right value of the characteristic function (stemming from penalization) |
||
integer, | intent(in) | :: | nPoints |
Number of points to evaluate the flux at. |
||
real(kind=rk), | intent(out) | :: | flux(:,:) |
Resulting flux for the left element (in conservative variables). |
Calculate the 2D HLL flux given the left an right state.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(atl_euler_type), | intent(in) | :: | euler | |||
real(kind=rk), | intent(in) | :: | state_left(:,:) |
The state on the face from its left limit (in conservative variables). |
||
real(kind=rk), | intent(in) | :: | state_right(:,:) |
The state on the face from its right limit (in conservative variables). |
||
real(kind=rk), | intent(in) | :: | material_left(:,:) |
The left value of the characteristic function (stemming from penalization) |
||
real(kind=rk), | intent(in) | :: | material_right(:,:) |
The right value of the characteristic function (stemming from penalization) |
||
integer, | intent(in) | :: | nPoints |
Number of points to evaluate the flux at. |
||
real(kind=rk), | intent(out) | :: | flux(:,:) |
Resulting flux for the left element (in conservative variables). |
Calculate the 1D HLL flux given the left an right state.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(atl_euler_type), | intent(in) | :: | euler | |||
real(kind=rk), | intent(in) | :: | state_left(:,:) |
The state on the face from its left limit (in conservative variables). |
||
real(kind=rk), | intent(in) | :: | state_right(:,:) |
The state on the face from its right limit (in conservative variables). |
||
real(kind=rk), | intent(in) | :: | material_left(:,:) |
The left value of the characteristic function (stemming from penalization) |
||
real(kind=rk), | intent(in) | :: | material_right(:,:) |
The right value of the characteristic function (stemming from penalization) |
||
integer, | intent(in) | :: | nPoints |
Number of points to evaluate the flux at. |
||
real(kind=rk), | intent(out) | :: | flux(:,:) |
Resulting flux for the left element (in conservative variables). |