22 integer,
intent(out) :: status
23 integer,
intent(in) :: new_size
25 real(kind=8),
allocatable,
target,
dimension(:) :: new_storage
29 print *,
"Expanding storage from ",
memsize,
" to ", new_size
30 allocate(new_storage(new_size),stat=status)
38 call move_alloc(new_storage,
alloc)
43 print *,
'new_size < memsize,' 44 print *,
'new_size = ',new_size
subroutine resize_storage(new_size, status)
The module contains the definition of a "node descriptor" as well as other global variables used duri...
real(kind=8), dimension(:), allocatable alloc