MoDeNa  1.0
Software framework facilitating sequential multi-scale modelling

Special mathematical functions. More...

Go to the source code of this file.

Functions/Subroutines

subroutine, public specfun::bessel (n, x, tol, j, dj, y, dy)
 Bessel functions. More...
 
subroutine, public specfun::hankel (n, x, tol, h1, dh1, h2, dh2)
 Hankel functions. More...
 
recursive real(dp) function, public specfun::factorial (n)
 Calculates factorial.
 
real(dp) function, public specfun::digamma (n)
 Calculates digamma function. More...
 

Detailed Description

Special mathematical functions.

Author
Pavel Ferkl

Bessel and other mathematical functions.

Definition in file specfun.f90.

Function/Subroutine Documentation

◆ bessel()

subroutine, public specfun::bessel ( integer, intent(in)  n,
complex(dp), intent(in)  x,
real(dp), intent(in)  tol,
complex(dp), dimension(0:n), intent(out)  j,
complex(dp), dimension(0:n), intent(out)  dj,
complex(dp), dimension(0:n), intent(out)  y,
complex(dp), dimension(0:n), intent(out)  dy 
)

Bessel functions.

Calculates Bessel functions of the first and second kind and their derivatives for complex argument

Definition at line 19 of file specfun.f90.

◆ digamma()

real(dp) function, public specfun::digamma ( integer, intent(in)  n)

Calculates digamma function.

taken from http://mathworld.wolfram.com/DigammaFunction.html

Definition at line 126 of file specfun.f90.

◆ hankel()

subroutine, public specfun::hankel ( integer, intent(in)  n,
complex(dp), intent(in)  x,
real(dp), intent(in)  tol,
complex(dp), dimension(0:n), intent(out)  h1,
complex(dp), dimension(0:n), intent(out)  dh1,
complex(dp), dimension(0:n), intent(out)  h2,
complex(dp), dimension(0:n), intent(out)  dh2 
)

Hankel functions.

Calculates Hankel functions of the first and second kind and their derivatives for complex argument.

Definition at line 81 of file specfun.f90.