(git:374b731)
Loading...
Searching...
No Matches
cp_array_utils.F File Reference

Go to the source code of this file.

Data Types

interface  cp_array_utils::cp_guarantee_size
 
type  cp_array_utils::cp_1d_r_p_type
 represent a pointer to a 1d array More...
 
type  cp_array_utils::cp_2d_r_p_type
 represent a pointer to a 2d array More...
 
type  cp_array_utils::cp_3d_r_p_type
 represent a pointer to a 3d array More...
 
type  cp_array_utils::cp_1d_r_cp_type
 represent a pointer to a contiguous 1d array More...
 
type  cp_array_utils::cp_2d_r_cp_type
 represent a pointer to a contiguous 2d array More...
 
type  cp_array_utils::cp_3d_r_cp_type
 represent a pointer to a contiguous 3d array More...
 
type  cp_array_utils::cp_1d_c_p_type
 represent a pointer to a 1d array More...
 
type  cp_array_utils::cp_2d_c_p_type
 represent a pointer to a 2d array More...
 
type  cp_array_utils::cp_3d_c_p_type
 represent a pointer to a 3d array More...
 
type  cp_array_utils::cp_1d_c_cp_type
 represent a pointer to a contiguous 1d array More...
 
type  cp_array_utils::cp_2d_c_cp_type
 represent a pointer to a contiguous 2d array More...
 
type  cp_array_utils::cp_3d_c_cp_type
 represent a pointer to a contiguous 3d array More...
 
type  cp_array_utils::cp_1d_i_p_type
 represent a pointer to a 1d array More...
 
type  cp_array_utils::cp_2d_i_p_type
 represent a pointer to a 2d array More...
 
type  cp_array_utils::cp_3d_i_p_type
 represent a pointer to a 3d array More...
 
type  cp_array_utils::cp_1d_i_cp_type
 represent a pointer to a contiguous 1d array More...
 
type  cp_array_utils::cp_2d_i_cp_type
 represent a pointer to a contiguous 2d array More...
 
type  cp_array_utils::cp_3d_i_cp_type
 represent a pointer to a contiguous 3d array More...
 
type  cp_array_utils::cp_1d_logical_p_type
 represent a pointer to a 1d array More...
 
type  cp_array_utils::cp_2d_logical_p_type
 represent a pointer to a 2d array More...
 
type  cp_array_utils::cp_3d_logical_p_type
 represent a pointer to a 3d array More...
 
type  cp_array_utils::cp_1d_logical_cp_type
 represent a pointer to a contiguous 1d array More...
 
type  cp_array_utils::cp_2d_logical_cp_type
 represent a pointer to a contiguous 2d array More...
 
type  cp_array_utils::cp_3d_logical_cp_type
 represent a pointer to a contiguous 3d array More...
 

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
 
subroutine, public cp_array_utils::cp_2d_r_write (array, unit_nr, el_format)
 writes an array to the given unit
 
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).
 
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).
 
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.
 
subroutine, public cp_array_utils::cp_1d_c_write (array, unit_nr, el_format)
 writes an array to the given unit
 
subroutine, public cp_array_utils::cp_2d_c_write (array, unit_nr, el_format)
 writes an array to the given unit
 
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).
 
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).
 
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.
 
subroutine, public cp_array_utils::cp_1d_i_write (array, unit_nr, el_format)
 writes an array to the given unit
 
subroutine, public cp_array_utils::cp_2d_i_write (array, unit_nr, el_format)
 writes an array to the given unit
 
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).
 
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).
 
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.
 
subroutine, public cp_array_utils::cp_1d_logical_write (array, unit_nr, el_format)
 writes an array to the given unit
 
subroutine, public cp_array_utils::cp_2d_logical_write (array, unit_nr, el_format)
 writes an array to the given unit
 
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).
 
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).
 
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.