PLUME-MoM-TSM
1.0
VolcanicPlumeModel
|
Method of Moments module. More...
Functions/Subroutines | |
real(wp) function | beta_function (z, w) |
Beta function. More... | |
real(wp) function | gammln (xx) |
Gamma function logarithm. More... | |
subroutine | gaulegf (x1, x2, x, w, n) |
subroutine | linear_reconstruction (Ml, Mr, mom, Ma, Mb, alfa, beta, gamma1, gamma2) |
Variables | |
integer | n_nodes |
Number of nodes for the quadrature. More... | |
integer, parameter | max_nmom = 20 |
Maximum number of moments. More... | |
integer | n_mom |
Number of moments. More... | |
integer | n_sections |
Method of Moments module.
This module contains the procedures and the variables for the method of moments.
real(wp) function moments_module::beta_function | ( | real(wp), intent(in) | z, |
real(wp), intent(in) | w | ||
) |
Beta function.
This function evaluates the beta function B(z,w). This is the name used by Legendre and Whittaker and Watson (1990) for the beta integral (also called the Eulerian integral of the first kind).
[in] | z | first parameter of the beta function |
[in] | w | second parameter of the beta function |
Definition at line 45 of file moments.f90.
real(wp) function moments_module::gammln | ( | real(wp) | xx | ) |
Gamma function logarithm.
This function returns the logarithm of the gamma function, gammaln(A) = log(gamma(A)). Input must be nonnegative and real. Converted from Numerical Recipes.
[in] | xx | argument of the function |
Definition at line 75 of file moments.f90.
subroutine moments_module::gaulegf | ( | real(wp), intent(in) | x1, |
real(wp), intent(in) | x2, | ||
real(wp), dimension(n), intent(out) | x, | ||
real(wp), dimension(n), intent(out) | w, | ||
integer, intent(in) | n | ||
) |
subroutine moments_module::linear_reconstruction | ( | real(wp), intent(in) | Ml, |
real(wp), intent(in) | Mr, | ||
real(wp), dimension(0:1), intent(in) | mom, | ||
real(wp), intent(out) | Ma, | ||
real(wp), intent(out) | Mb, | ||
real(wp), intent(out) | alfa, | ||
real(wp), intent(out) | beta, | ||
real(wp), intent(out) | gamma1, | ||
real(wp), intent(out) | gamma2 | ||
) |
integer, parameter moments_module::max_nmom = 20 |
Maximum number of moments.
Definition at line 21 of file moments.f90.
integer moments_module::n_mom |
Number of moments.
Definition at line 24 of file moments.f90.
integer moments_module::n_nodes |
Number of nodes for the quadrature.
Definition at line 18 of file moments.f90.
integer moments_module::n_sections |
Definition at line 26 of file moments.f90.