Initial solution. More...
Public Member Functions | |
| subroutine | riemann_problem |
| Riemann problem initialization. More... | |
| subroutine | initial_conditions |
| Problem initialization. More... | |
| real *8 function | water_function (x, Bj) |
| Water function. More... | |
| real *8 function | velocity_function (x, Bj) |
| Velocity function. More... | |
Public Attributes | |
| real *8, dimension(:,:), allocatable | q_init |
| real *8 | riemann_interface |
| Riemann problem interface relative position. It is a value between 0 and 1. More... | |
| real *8 | hb_l |
| Left height. More... | |
| real *8 | u_l |
| Left velocity. More... | |
| real *8 | hb_r |
| Right height. More... | |
| real *8 | u_r |
| Right velocity. More... | |
Initial solution.
This module contains the variables and the subroutine for the initialization of the solution for a Riemann problem.
| subroutine init::initial_conditions | ( | ) |
| subroutine init::riemann_problem | ( | ) |
Riemann problem initialization.
This subroutine initialize the solution for a Riemann problem. The values for the left and right states and the interface location are read from the input file.\
Definition at line 38 of file init.f90.


| real*8 function init::velocity_function | ( | real*8, intent(in) | x, |
| real*8, intent(in) | Bj | ||
| ) |
| real*8 function init::water_function | ( | real*8, intent(in) | x, |
| real*8, intent(in) | Bj | ||
| ) |
| real*8 init::riemann_interface |
1.8.7