util_append Interface

public interface util_append

Calls

interface~~util_append~2~~CallsGraph interface~util_append~2 util_append proc~base_util_append_arr_char_string base_util_append_arr_char_string interface~util_append~2->proc~base_util_append_arr_char_string proc~base_util_append_arr_dp base_util_append_arr_DP interface~util_append~2->proc~base_util_append_arr_dp proc~base_util_append_arr_dpvec base_util_append_arr_DPvec interface~util_append~2->proc~base_util_append_arr_dpvec proc~base_util_append_arr_i4b base_util_append_arr_I4B interface~util_append~2->proc~base_util_append_arr_i4b proc~base_util_append_arr_logical base_util_append_arr_logical interface~util_append~2->proc~base_util_append_arr_logical interface~util_resize~2 util_resize proc~base_util_append_arr_char_string->interface~util_resize~2 proc~base_util_append_arr_dp->interface~util_resize~2 proc~base_util_append_arr_dpvec->interface~util_resize~2 proc~base_util_append_arr_i4b->interface~util_resize~2 proc~base_util_append_arr_logical->interface~util_resize~2 proc~base_util_resize_arr_char_string base_util_resize_arr_char_string interface~util_resize~2->proc~base_util_resize_arr_char_string proc~base_util_resize_arr_dp base_util_resize_arr_DP interface~util_resize~2->proc~base_util_resize_arr_dp proc~base_util_resize_arr_dpvec base_util_resize_arr_DPvec interface~util_resize~2->proc~base_util_resize_arr_dpvec proc~base_util_resize_arr_i4b base_util_resize_arr_I4B interface~util_resize~2->proc~base_util_resize_arr_i4b proc~base_util_resize_arr_logical base_util_resize_arr_logical interface~util_resize~2->proc~base_util_resize_arr_logical

Module Procedures

public subroutine base_util_append_arr_char_string(arr, source, nold, lsource_mask)

Author
David A. Minton

Append a single array of character string type onto another. If the destination array is not allocated, or is not big
enough, this will allocate space for it.

Arguments

Type IntentOptional Attributes Name
character(len=STRMAX), intent(inout), dimension(:), allocatable :: arr

Destination array

character(len=STRMAX), intent(in), dimension(:), allocatable :: source

Array to append

integer(kind=I4B), intent(in), optional :: nold

Extent of original array. If passed, the source array will begin at arr(nold+1). Otherwise, the size of arr will be used.

logical, intent(in), optional, dimension(:) :: lsource_mask

Logical mask indicating which elements to append to

public subroutine base_util_append_arr_DP(arr, source, nold, lsource_mask)

Author
David A. Minton

Append a single array of double precision type onto another. If the destination array is not allocated, or is not big
enough, this will allocate space for it.

Arguments

Type IntentOptional Attributes Name
real(kind=DP), intent(inout), dimension(:), allocatable :: arr

Destination array

real(kind=DP), intent(in), dimension(:), allocatable :: source

Array to append

integer(kind=I4B), intent(in), optional :: nold

Extent of original array. If passed, the source array will begin at arr(nold+1). Otherwise, the size of arr will be used.

logical, intent(in), optional, dimension(:) :: lsource_mask

Logical mask indicating which elements to append to

public subroutine base_util_append_arr_DPvec(arr, source, nold, lsource_mask)

Author
David A. Minton

Append a single array of double precision vector type of size (NDIM, n) onto another. If the destination array is not
allocated, or is not big enough, this will allocate space for it.

Arguments

Type IntentOptional Attributes Name
real(kind=DP), intent(inout), dimension(:,:), allocatable :: arr

Destination array

real(kind=DP), intent(in), dimension(:,:), allocatable :: source

Array to append

integer(kind=I4B), intent(in), optional :: nold

Extent of original array. If passed, the source array will begin at arr(nold+1). Otherwise, the size of arr will be used.

logical, intent(in), optional, dimension(:) :: lsource_mask

Logical mask indicating which elements to append to

public subroutine base_util_append_arr_I4B(arr, source, nold, lsource_mask)

Author
David A. Minton

Append a single array of integer(I4B) onto another. If the destination array is not allocated, or is not big enough, this will allocate space for it.

Arguments

Type IntentOptional Attributes Name
integer(kind=I4B), intent(inout), dimension(:), allocatable :: arr

Destination array

integer(kind=I4B), intent(in), dimension(:), allocatable :: source

Array to append

integer(kind=I4B), intent(in), optional :: nold

Extent of original array. If passed, the source array will begin at arr(nold+1). Otherwise, the size of arr will be used.

logical, intent(in), optional, dimension(:) :: lsource_mask

Logical mask indicating which elements to append to

public subroutine base_util_append_arr_logical(arr, source, nold, lsource_mask)

Author
David A. Minton

Append a single array of logical type onto another. If the destination array is not allocated, or is not big enough, this will allocate space for it.

Arguments

Type IntentOptional Attributes Name
logical, intent(inout), dimension(:), allocatable :: arr

Destination array

logical, intent(in), dimension(:), allocatable :: source

Array to append

integer(kind=I4B), intent(in), optional :: nold

Extent of original array. If passed, the source array will begin at arr(nold+1). Otherwise, the size of arr will be used.

logical, intent(in), optional, dimension(:) :: lsource_mask

Logical mask indicating which elements to append to