◆ reserve_space_cfp()
| subroutine utils_gbl::reserve_space::reserve_space_cfp |
( |
real(cfp), dimension(:), intent(inout), allocatable | a, |
|
|
integer, intent(in) | n ) |
Extend array if too short.
- Authors
- J Benda
- Date
- 2019
Given an array A and a size parameter n, check that the array can store at least n elements. If not, reallocate the array to the length of twice n. The newly added elements are left uninitialized. The input array does not need to be allocated.
◆ reserve_space_int()
| subroutine utils_gbl::reserve_space::reserve_space_int |
( |
integer, dimension(:), intent(inout), allocatable | a, |
|
|
integer, intent(in) | n ) |
The documentation for this interface was generated from the following file:
- /scratch.ssd/codes/ukrmol-in-git/source/gbtolib/source/utils.f90