![]() |
(git:d18deda)
|
All kind of helpful little routines. More...
Data Types | |
interface | find_boundary |
interface | sort |
interface | sort_unique |
Functions/Subroutines | |
pure integer function, public | locate (array, x) |
Purpose: Given an array array(1:n), and given a value x, a value x_index is returned which is the index value of the array element equal to the value x: x = array(x_index) The array must be monotonic increasing. x_index = 0 is returned, if no array element equal to the value of x was found. | |
pure integer function, dimension(2), public | get_limit (m, n, me) |
divide m entries into n parts, return size of part me | |
All kind of helpful little routines.
pure integer function, public util::locate | ( | integer, dimension(:), intent(in) | array, |
integer, intent(in) | x | ||
) |
Purpose: Given an array array(1:n), and given a value x, a value x_index is returned which is the index value of the array element equal to the value x: x = array(x_index) The array must be monotonic increasing. x_index = 0 is returned, if no array element equal to the value of x was found.
array | ... |
x | ... |
Definition at line 60 of file util.F.
pure integer function, dimension(2), public util::get_limit | ( | integer, intent(in) | m, |
integer, intent(in) | n, | ||
integer, intent(in) | me | ||
) |