IMEXSfloW  1.0
templategithubproject
 All Classes Files Functions Variables Pages
Public Member Functions | Public Attributes | List of all members
init Module Reference

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...
 

Detailed Description

Initial solution.

This module contains the variables and the subroutine for the initialization of the solution for a Riemann problem.

Definition at line 8 of file init.f90.

Member Function/Subroutine Documentation

subroutine init::initial_conditions ( )

Problem initialization.

This subroutine initialize the solution for a a generic problem. The values are read from water and velocity functions

Date
OCTOBER 2016

Definition at line 133 of file init.f90.

Here is the call graph for this function:

Here is the caller graph for this function:

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.\

Date
26/08/2011

Definition at line 38 of file init.f90.

Here is the call graph for this function:

Here is the caller graph for this function:

real*8 function init::velocity_function ( real*8, intent(in)  x,
real*8, intent(in)  Bj 
)

Velocity function.

This subroutine defines the velocity in the input x grid point

Date
OCTOBER 2016
Parameters
xoriginal grid (input)

Definition at line 211 of file init.f90.

Here is the caller graph for this function:

real*8 function init::water_function ( real*8, intent(in)  x,
real*8, intent(in)  Bj 
)

Water function.

This subroutine defines water height hB=h+B in the input x grid point

Date
OCTOBER 2016
Parameters
xoriginal grid (input)

Definition at line 185 of file init.f90.

Here is the call graph for this function:

Here is the caller graph for this function:

Member Data Documentation

real*8 init::hb_l

Left height.

Definition at line 19 of file init.f90.

real*8 init::hb_r

Right height.

Definition at line 22 of file init.f90.

real*8, dimension(:,:), allocatable init::q_init

Definition at line 12 of file init.f90.

real*8 init::riemann_interface

Riemann problem interface relative position. It is a value between 0 and 1.

Definition at line 16 of file init.f90.

real*8 init::u_l

Left velocity.

Definition at line 20 of file init.f90.

real*8 init::u_r

Right velocity.

Definition at line 23 of file init.f90.


The documentation for this module was generated from the following file: