MODFLOW 6  version 6.6.0.dev0
USGS Modular Hydrologic Model
arrayhandlersmodule::concatarray Interface Reference
Collaboration diagram for arrayhandlersmodule::concatarray:
Collaboration graph

Private Member Functions

subroutine concat_integer (array, array_to_add)
 Concatenate integer arrays. More...
 

Detailed Description

Definition at line 40 of file ArrayHandlers.f90.

Member Function/Subroutine Documentation

◆ concat_integer()

subroutine arrayhandlersmodule::concatarray::concat_integer ( integer(i4b), dimension(:), pointer, contiguous  array,
integer(i4b), dimension(:), pointer, contiguous  array_to_add 
)
private

Definition at line 459 of file ArrayHandlers.f90.

460  integer(I4B), dimension(:), pointer, contiguous :: array
461  integer(I4B), dimension(:), pointer, contiguous :: array_to_add
462  ! local
463  integer(I4B) :: i, n
464 
465  n = size(array)
466  call extendptrarray(array, increment=size(array_to_add))
467  do i = 1, size(array_to_add)
468  array(n + i) = array_to_add(i)
469  end do

The documentation for this interface was generated from the following file: