EFTCAMB
Reference documentation for version 3.0
|
This module contains various generic algorithms that are useful to EFTCAMB. More...
Functions/Subroutines | |
subroutine, public | hunt (xx, n, x, jlo) |
Hunting algorithm: This is used to efficiently search an ordered table by means of a hunting and a bisection algorithm. More... | |
character(10) function, public | integer_to_string (number) |
This function converts an integer to a string. Usefull for numbered files output. More... | |
This module contains various generic algorithms that are useful to EFTCAMB.
subroutine, public eftcamb_mixed_algorithms::hunt | ( | real(dl), dimension(n) | xx, |
integer | n, | ||
real(dl) | x, | ||
integer | jlo | ||
) |
Hunting algorithm: This is used to efficiently search an ordered table by means of a hunting and a bisection algorithm.
n | the length of the table |
xx | the table to be searched |
x | the requested value |
jlo | the index of the closest (from below) entry of the table |
Definition at line 48 of file 02_utilities.f90.
character(10) function, public eftcamb_mixed_algorithms::integer_to_string | ( | integer, intent(in) | number | ) |
This function converts an integer to a string. Usefull for numbered files output.
[in] | number | Input integer number |
Definition at line 103 of file 02_utilities.f90.