AshFlow  0.1
ashflowmodel
 All Classes Files Functions Variables Pages
Public Member Functions | Public Attributes | List of all members
solver_module Module Reference

Solver Module This module contains the differential equations that are solved at each iteration. More...

Public Member Functions

subroutine allocate_matrix
 Allocate matrix This subroutine defines the matrix over which each of the conditions are solved. More...
 
subroutine rate (rhs_)
 Right hand side equations This subroutine contains the right-hand side of the equations that are computed for each particle class. More...
 
subroutine lump (f_)
 Lump variables Variables are grouped together to calculate the lumped variables. More...
 
subroutine marching (fold, fnew, rat, delta_r)
 Marching r one step. More...
 
subroutine unlump (f_)
 Unlumping variable Lumped variables defined in subroutine 'lump' are unlumped to calculate physical variables from lumped variables for each particle class. More...
 

Public Attributes

real *8, dimension(:), allocatable rhstemp
 
real *8, dimension(:), allocatable rhs
 
real *8, dimension(:), allocatable ftemp
 
real *8, dimension(:), allocatable f
 
real *8, dimension(:), allocatable f_stepold
 
real *8, dimension(:), allocatable f_oldold
 
real *8, dimension(:), allocatable f_new
 
real *8, dimension(:), allocatable f_rk
 
real *8, dimension(:,:),
allocatable 
rhs_rk
 
real *8, dimension(:), allocatable rhs4
 
real *8, dimension(:), allocatable f_err
 
real *8 eps_rel
 
real *8 eps_abs
 
integer itotal
 
integer n_rk
 steps for the RK scheme More...
 
real *8 dh_dr
 Change in flow height with radius. More...
 
real *8 dbeta_dr
 Change in flow density with radius. More...
 
real *8 dr
 Change in radius. More...
 
real *8 dr0
 Change in radius. More...
 
real *8 dr_old
 Old radius - used for backwards forwards analysis. More...
 
logical vel_equation
 

Detailed Description

Solver Module This module contains the differential equations that are solved at each iteration.

Date
01/07/2014
Author
Sam & Mattia

Definition at line 10 of file solver_flow.f90.

Member Function/Subroutine Documentation

subroutine solver_module::allocate_matrix ( )

Allocate matrix This subroutine defines the matrix over which each of the conditions are solved.

Date
01/07/2014
Author
Sam & Mattia

Definition at line 61 of file solver_flow.f90.

Here is the caller graph for this function:

subroutine solver_module::lump ( real*8, dimension(:), intent(out)  f_)

Lump variables Variables are grouped together to calculate the lumped variables.

Parameters
[out]f_lumped variables
Date
01/07/2014
Author
Sam & Mattia

Definition at line 241 of file solver_flow.f90.

Here is the call graph for this function:

Here is the caller graph for this function:

subroutine solver_module::marching ( real*8, dimension(:), intent(in)  fold,
real*8, dimension(:), intent(out)  fnew,
real*8, dimension(:), intent(in)  rat,
real*8, intent(in)  delta_r 
)

Marching r one step.

This subroutine update the solution of the model from r to r+dr as fnew=fold+dr*rate.

Parameters
[in]foldold lumped variables
[in]raterate of change of the lumped variables
[out]fnewnew lumped variables
Date
01/07/2014
Author
Sam & Mattia

Definition at line 296 of file solver_flow.f90.

Here is the caller graph for this function:

subroutine solver_module::rate ( real*8, dimension(:), intent(out)  rhs_)

Right hand side equations This subroutine contains the right-hand side of the equations that are computed for each particle class.

Parameters
[out]rhs_right-hand side
Date
01/07/2014
Author
Sam & Mattia

Definition at line 99 of file solver_flow.f90.

Here is the caller graph for this function:

subroutine solver_module::unlump ( real*8, dimension(:), intent(in)  f_)

Unlumping variable Lumped variables defined in subroutine 'lump' are unlumped to calculate physical variables from lumped variables for each particle class.

Date
01/07/2014
Author
Sam & Mattia
Parameters
[in]f_lumped variables

Definition at line 324 of file solver_flow.f90.

Here is the caller graph for this function:

Member Data Documentation

real*8 solver_module::dbeta_dr

Change in flow density with radius.

Definition at line 41 of file solver_flow.f90.

real*8 solver_module::dh_dr

Change in flow height with radius.

Definition at line 40 of file solver_flow.f90.

real*8 solver_module::dr

Change in radius.

Definition at line 42 of file solver_flow.f90.

real*8 solver_module::dr0

Change in radius.

Definition at line 43 of file solver_flow.f90.

real*8 solver_module::dr_old

Old radius - used for backwards forwards analysis.

Definition at line 44 of file solver_flow.f90.

real*8 solver_module::eps_abs

Definition at line 34 of file solver_flow.f90.

real*8 solver_module::eps_rel

Definition at line 34 of file solver_flow.f90.

real*8, dimension(:), allocatable solver_module::f

Definition at line 24 of file solver_flow.f90.

real*8, dimension(:), allocatable solver_module::f_err

Definition at line 32 of file solver_flow.f90.

real*8, dimension(:), allocatable solver_module::f_new

Definition at line 28 of file solver_flow.f90.

real*8, dimension(:), allocatable solver_module::f_oldold

Definition at line 26 of file solver_flow.f90.

real*8, dimension(:), allocatable solver_module::f_rk

Definition at line 29 of file solver_flow.f90.

real*8, dimension(:), allocatable solver_module::f_stepold

Definition at line 25 of file solver_flow.f90.

real*8, dimension(:), allocatable solver_module::ftemp

Definition at line 23 of file solver_flow.f90.

integer solver_module::itotal

Definition at line 36 of file solver_flow.f90.

integer solver_module::n_rk

steps for the RK scheme

Definition at line 38 of file solver_flow.f90.

real*8, dimension(:), allocatable solver_module::rhs

Definition at line 22 of file solver_flow.f90.

real*8, dimension(:), allocatable solver_module::rhs4

Definition at line 31 of file solver_flow.f90.

real*8, dimension(:,:), allocatable solver_module::rhs_rk

Definition at line 30 of file solver_flow.f90.

real*8, dimension(:), allocatable solver_module::rhstemp

Definition at line 21 of file solver_flow.f90.

logical solver_module::vel_equation

Definition at line 46 of file solver_flow.f90.


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