Definition at line 13 of file ArrayHandlers.f90.
◆ expand_integer_wrapper()
subroutine arrayhandlersmodule::expandarraywrapper::expand_integer_wrapper |
( |
integer(i4b), intent(in) |
nsize, |
|
|
integer(i4b), dimension(:), intent(inout), allocatable |
array, |
|
|
integer(i4b), intent(in), optional |
minvalue, |
|
|
logical(lgp), intent(in), optional |
loginc |
|
) |
| |
|
private |
Definition at line 50 of file ArrayHandlers.f90.
52 integer(I4B),
intent(in) :: nsize
53 integer(I4B),
allocatable,
intent(inout) :: array(:)
54 integer(I4B),
intent(in),
optional :: minvalue
55 logical(LGP),
intent(in),
optional :: loginc
57 logical(LGP) :: log_increment
58 integer(I4B) :: minimum_increment
59 integer(I4B) :: increment
64 if (
present(minvalue))
then
65 minimum_increment = minvalue
67 minimum_increment = 100
69 if (
present(loginc))
then
70 log_increment = loginc
72 log_increment = .false.
79 if (nsize > isize)
then
84 increment = int(log10(real(nsize, dp)), i4b)
85 increment = int(dten**increment, i4b)
90 increment = int(nsize * 0.2_dp)
91 increment = max(minimum_increment, increment)
95 call expandarray(array, increment)
98 do n = isize + 1,
size(array)
The documentation for this interface was generated from the following file: