MPI-SCATCI 2.0
An MPI version of SCATCI
Loading...
Searching...
No Matches
Utility_module.f90 File Reference

Go to the source code of this file.

Modules

module  Utility_module
 Utility module.

Functions/Subroutines

integer(longint) function, public Utility_module::compute_total_triangular (n)
 Calculate triangular area.
integer function, public Utility_module::compute_total_box (width, height)
 Calculate rectangular product.
subroutine, public Utility_module::box_index_to_ij (idx, height, i, j)
 Extract indices from rectangular multi-index.
subroutine, public Utility_module::triangular_index_to_ij (idx_f, n, row, column)
 Extract indices from triangular multi-index.
integer function, public Utility_module::string_hash (str, table_size)
 Calculate a string hash.
real(wp) function, public Utility_module::get_real_time ()
 Get current (real) time.
real(wp) function, public Utility_module::get_cpu_time ()
 Get current (CPU) time.
subroutine Utility_module::pack_ints (i1, i2, i3, i4, i5, i6, i7, i8, z)
 Store 8 integers in given number of integers.
subroutine Utility_module::unpack_ints (z, u)
 Retrieve 8 integers from given number of integers.
integer function Utility_module::lexicographical_compare (a, b)
 Compare two arrays.