Auxiliary functions.
Delta kronecker .
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
integer, | intent(in) | :: | i |
integer |
||
integer, | intent(in) | :: | j |
integer |
Boxcar function.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
real(kind=rk), | intent(in) | :: | x |
argument |
||
real(kind=rk), | intent(in) | :: | a |
interval limit |
||
real(kind=rk), | intent(in) | :: | b |
interval limit |
||
real(kind=rk), | intent(in) | :: | height |
pulse height |
1D Exponential distribution.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
real(kind=rk), | intent(in) | :: | x |
random variable |
||
real(kind=rk), | intent(in), | optional | :: | x0 |
mean value |
|
real(kind=rk), | intent(in), | optional | :: | n0 |
initial number of particles |
Build file name from its parts.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
character(len=*), | intent(in), | optional | :: | folder |
folder (default=".\") |
|
character(len=*), | intent(in), | optional | :: | basename |
basename (default="temp") |
|
character(len=*), | intent(in), | optional | :: | suffix |
suffix (default="") |
|
character(len=*), | intent(in), | optional | :: | extension |
extension (default="txt") |
Write content of real array (rank=1,2) to file.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
character(len=*), | intent(in) | :: | filename |
file name |
||
real(kind=rk), | intent(in) | :: | x(..) |
array to be written |
||
character(len=*), | intent(in), | optional | :: | fmt |
format specifier (default="es16.5e3") |