PLUME-MoM-TSM
1.0
VolcanicPlumeModel
|
Solver module. More...
Functions/Subroutines | |
subroutine | allocate_matrix |
Solver variables allocation. More... | |
subroutine | rate |
Compute the right-hand side of the equations. More... | |
subroutine | aggr_rate |
Compute the right-hand side of the equations. More... | |
subroutine | lump (f_) |
Calculate the lumped variables. More... | |
subroutine | marching (fold, fnew, rate) |
Marching s one step. More... | |
subroutine | unlump (f_) |
Calculate physical variables from lumped variables. More... | |
Variables | |
real(wp), dimension(:), allocatable | rhs1 |
Right-Hand Side (rhs1) terms without aggregation. More... | |
real(wp), dimension(:), allocatable | rhs2 |
Right-Hand Side (rhs2) aggregation terms only. More... | |
real(wp), dimension(:), allocatable | rhstemp |
Right-Hand Side (rhs) More... | |
real(wp), dimension(:), allocatable | rhs |
Right-Hand Side (rhs) More... | |
real(wp), dimension(:), allocatable | ftemp |
Integrated variables. More... | |
real(wp), dimension(:), allocatable | f |
Integrated variables. More... | |
real(wp), dimension(:), allocatable | f_stepold |
Integrated variables. More... | |
real(wp), dimension(:), allocatable | volcgas_rate |
Rate of change of volcanic gases. More... | |
integer | itotal |
Total number of equations. More... | |
real(wp) | dz |
Integration step. More... | |
real(wp) | dz0 |
Initial integration step. More... | |
Solver module.
This module contains the procedures to evaluate the terms of the differential equations of the model.
subroutine solver_module::aggr_rate | ( | ) |
Compute the right-hand side of the equations.
This subroutine compute the right-hand side of the equations.
Definition at line 347 of file solver_rise.f90.
subroutine solver_module::allocate_matrix | ( | ) |
Solver variables allocation.
This subroutine allocate the variables defining the terms on the two sides of equations of the model (f and rhs).
Definition at line 69 of file solver_rise.f90.
subroutine solver_module::lump | ( | real(wp), dimension(:), intent(out) | f_ | ) |
Calculate the lumped variables.
This subroutine calculates the lumped variables f_ (left-hand side of the equations of the model).
[out] | f_ | lumped variables |
Definition at line 406 of file solver_rise.f90.
subroutine solver_module::marching | ( | real(wp), dimension(:), intent(in) | fold, |
real(wp), dimension(:), intent(out) | fnew, | ||
real(wp), dimension(:), intent(in) | rate | ||
) |
Marching s one step.
This subroutine update the solution of the model from s to z+dz as fnew=fold+dz*rate.
[in] | fold | old lumped variables |
[in] | rate | rate of change of the lumped variables |
[out] | fnew | new lumped variables |
Definition at line 504 of file solver_rise.f90.
subroutine solver_module::rate | ( | ) |
Compute the right-hand side of the equations.
This subroutine compute the right-hand side of the equations.
Definition at line 112 of file solver_rise.f90.
subroutine solver_module::unlump | ( | real(wp), dimension(:), intent(inout) | f_ | ) |
Calculate physical variables from lumped variables.
This subroutine calculates a set of physical variables from lumped variables f_.
[in] | f_ | lumped variables |
Definition at line 539 of file solver_rise.f90.
real(wp) solver_module::dz |
Integration step.
Definition at line 49 of file solver_rise.f90.
real(wp) solver_module::dz0 |
Initial integration step.
Definition at line 52 of file solver_rise.f90.
real(wp), dimension(:), allocatable solver_module::f |
Integrated variables.
Definition at line 37 of file solver_rise.f90.
real(wp), dimension(:), allocatable solver_module::f_stepold |
Integrated variables.
Definition at line 40 of file solver_rise.f90.
real(wp), dimension(:), allocatable solver_module::ftemp |
Integrated variables.
Definition at line 34 of file solver_rise.f90.
integer solver_module::itotal |
Total number of equations.
Definition at line 46 of file solver_rise.f90.
real(wp), dimension(:), allocatable solver_module::rhs |
Right-Hand Side (rhs)
Definition at line 31 of file solver_rise.f90.
real(wp), dimension(:), allocatable solver_module::rhs1 |
Right-Hand Side (rhs1) terms without aggregation.
Definition at line 22 of file solver_rise.f90.
real(wp), dimension(:), allocatable solver_module::rhs2 |
Right-Hand Side (rhs2) aggregation terms only.
Definition at line 25 of file solver_rise.f90.
real(wp), dimension(:), allocatable solver_module::rhstemp |
Right-Hand Side (rhs)
Definition at line 28 of file solver_rise.f90.
real(wp), dimension(:), allocatable solver_module::volcgas_rate |
Rate of change of volcanic gases.
Definition at line 43 of file solver_rise.f90.