(git:34ef472)
cp_array_utils.F File Reference

Go to the source code of this file.

Modules

module  cp_array_utils
 various utilities that regard array of different kinds: output, allocation,... maybe it is not a good idea mixing output and memeory utils...
 

Functions/Subroutines

subroutine, public cp_array_utils::cp_1d_r_write (array, unit_nr, el_format)
 writes an array to the given unit More...
 
subroutine, public cp_array_utils::cp_2d_r_write (array, unit_nr, el_format)
 writes an array to the given unit More...
 
subroutine, public cp_array_utils::cp_1d_r_guarantee_size (array, n)
 If the size of the array is changes reallocate it. Issues a warning when the size changes (but not on allocation and deallocation). More...
 
subroutine, public cp_array_utils::cp_2d_r_guarantee_size (array, n_rows, n_cols)
 If the size of the array is changes reallocate it. Issues a warning when the size changes (but not on allocation and deallocation). More...
 
integer function, public cp_array_utils::cp_1d_r_bsearch (array, el, l_index, u_index)
 returns the index at which the element el should be inserted in the array to keep it ordered (array(i)>=el). If the element is bigger than all the elements in the array returns the last index+1. More...
 
subroutine, public cp_array_utils::cp_1d_c_write (array, unit_nr, el_format)
 writes an array to the given unit More...
 
subroutine, public cp_array_utils::cp_2d_c_write (array, unit_nr, el_format)
 writes an array to the given unit More...
 
subroutine, public cp_array_utils::cp_1d_c_guarantee_size (array, n)
 If the size of the array is changes reallocate it. Issues a warning when the size changes (but not on allocation and deallocation). More...
 
subroutine, public cp_array_utils::cp_2d_c_guarantee_size (array, n_rows, n_cols)
 If the size of the array is changes reallocate it. Issues a warning when the size changes (but not on allocation and deallocation). More...
 
integer function, public cp_array_utils::cp_1d_c_bsearch (array, el, l_index, u_index)
 returns the index at which the element el should be inserted in the array to keep it ordered (array(i)>=el). If the element is bigger than all the elements in the array returns the last index+1. More...
 
subroutine, public cp_array_utils::cp_1d_i_write (array, unit_nr, el_format)
 writes an array to the given unit More...
 
subroutine, public cp_array_utils::cp_2d_i_write (array, unit_nr, el_format)
 writes an array to the given unit More...
 
subroutine, public cp_array_utils::cp_1d_i_guarantee_size (array, n)
 If the size of the array is changes reallocate it. Issues a warning when the size changes (but not on allocation and deallocation). More...
 
subroutine, public cp_array_utils::cp_2d_i_guarantee_size (array, n_rows, n_cols)
 If the size of the array is changes reallocate it. Issues a warning when the size changes (but not on allocation and deallocation). More...
 
integer function, public cp_array_utils::cp_1d_i_bsearch (array, el, l_index, u_index)
 returns the index at which the element el should be inserted in the array to keep it ordered (array(i)>=el). If the element is bigger than all the elements in the array returns the last index+1. More...
 
subroutine, public cp_array_utils::cp_1d_logical_write (array, unit_nr, el_format)
 writes an array to the given unit More...
 
subroutine, public cp_array_utils::cp_2d_logical_write (array, unit_nr, el_format)
 writes an array to the given unit More...
 
subroutine, public cp_array_utils::cp_1d_logical_guarantee_size (array, n)
 If the size of the array is changes reallocate it. Issues a warning when the size changes (but not on allocation and deallocation). More...
 
subroutine, public cp_array_utils::cp_2d_logical_guarantee_size (array, n_rows, n_cols)
 If the size of the array is changes reallocate it. Issues a warning when the size changes (but not on allocation and deallocation). More...
 
integer function, public cp_array_utils::cp_1d_logical_bsearch (array, el, l_index, u_index)
 returns the index at which the element el should be inserted in the array to keep it ordered (array(i)>=el). If the element is bigger than all the elements in the array returns the last index+1. More...