Abstract Riemann Solver.
Initialize solver.
Initialize solver.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(riemann_solver_object), | intent(inout) | :: | self | Solver. |
||
| character(len=*), | intent(in), | optional | :: | config | Configuration for solver algorithm. |
Solve Riemann Problem.
Solve Riemann Problem.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(riemann_solver_object), | intent(in) | :: | self | Solver. |
||
| 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. |
||
| class(conservative_object), | intent(inout) | :: | fluxes | Fluxes of the Riemann Problem solution. |
type, abstract :: riemann_solver_object
!< Abstract Riemann Solver.
contains
! public deferred methods
procedure(initialize_interface), pass(self), deferred :: initialize !< Initialize solver.
! procedure(description_interface), pass(self), deferred :: description !< Return pretty-printed object description.
procedure(solve_interface), pass(self), deferred :: solve !< Solve Riemann Problem.
endtype riemann_solver_object