Riemann (states) pattern object class.
This pattern is generated after the breaking of the initial discontinuity of the Riemann Problem.
Overload =.
Operator =.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(riemann_pattern_compressible_object), | intent(inout) | :: | lhs | Left hand side. |
||
| class(riemann_pattern_object), | intent(in) | :: | rhs | Right hand side. |
Compute fluxes at interface.
Compute fluxes at initial discontinuity interface.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(riemann_pattern_object), | intent(in) | :: | self | Riemann (states) pattern solution. |
||
| type(vector), | intent(in) | :: | normal | Normal (versor) of face where fluxes are given. |
||
| class(conservative_object), | intent(inout) | :: | fluxes | Fluxes at initial discontinuity interface. |
Compute waves speed.
Compute fluxes at initial discontinuity interface.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(riemann_pattern_object), | intent(inout) | :: | self | Riemann (states) pattern solution. |
Return pretty-printed object description.
Return a pretty-formatted object description.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(riemann_pattern_object), | intent(in) | :: | self | Riemann pattern. |
||
| character(len=*), | intent(in), | optional | :: | prefix | Prefixing string. |
Description.
Initialize pattern with left/right states.
Initialize pattern with left and right states.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(riemann_pattern_object), | intent(inout) | :: | self | Riemann (states) pattern solution. |
||
| class(eos_object), | intent(in) | :: | eos_left | Equation of state for left state. |
||
| class(conservative_object), | intent(in) | :: | state_left | Left Riemann state. |
||
| class(eos_object), | intent(in) | :: | eos_right | Equation of state for right state. |
||
| class(conservative_object), | intent(in) | :: | state_right | Right Riemann state. |
||
| type(vector), | intent(in) | :: | normal | Normal (versor) of face where fluxes are given. |
Operator =.
Operator =.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(riemann_pattern_object), | intent(inout) | :: | lhs | Left hand side. |
||
| class(riemann_pattern_object), | intent(in) | :: | rhs | Right hand side. |
type, abstract :: riemann_pattern_object
!< Riemann (states) pattern object class.
!<
!< This pattern is generated after the breaking of the initial discontinuity of the Riemann Problem.
contains
! deferred methods
procedure(compute_fluxes_interface), pass(self), deferred :: compute_fluxes !< Compute fluxes at interface.
procedure(compute_waves_interface), pass(self), deferred :: compute_waves !< Compute waves speed.
procedure(description_interface), pass(self), deferred :: description !< Return pretty-printed object description.
procedure(initialize_interface), pass(self), deferred :: initialize !< Initialize pattern with left/right states.
procedure(assignment_interface), pass(lhs), deferred :: rpat_assign_rpat !< Operator `=`.
! operators
generic :: assignment(=) => rpat_assign_rpat !< Overload `=`.
endtype riemann_pattern_object