PLUME-MoM-TSM  1.0
VolcanicPlumeModel
Functions/Subroutines | Variables
moments_module Module Reference

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
 

Detailed Description

Method of Moments module.

This module contains the procedures and the variables for the method of moments.

Date
22/10/2013
Author
Mattia de' Michieli Vitturi

Function/Subroutine Documentation

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

Parameters
[in]zfirst parameter of the beta function
[in]wsecond parameter of the beta function
Date
22/10/2013
Author
Mattia de' Michieli Vitturi

Definition at line 45 of file moments.f90.

Here is the call graph for this function:

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.

Parameters
[in]xxargument of the function
Date
22/10/2013
Author
Mattia de' Michieli Vitturi

Definition at line 75 of file moments.f90.

Here is the caller graph for this function:

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 
)

Definition at line 137 of file moments.f90.

Here is the caller graph for this function:

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 
)

Definition at line 178 of file moments.f90.

Here is the caller graph for this function:

Variable Documentation

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.