util_append Interface

public interface util_append

Contents


Subroutines

public module subroutine swiftest_util_append_arr_info(arr, source, nold, lsource_mask)

Arguments

TypeIntentOptionalAttributesName
type(swiftest_particle_info), intent(inout), dimension(:), allocatable:: arr

Destination array

type(swiftest_particle_info), 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 module subroutine swiftest_util_append_arr_kin(arr, source, nold, lsource_mask)

Arguments

TypeIntentOptionalAttributesName
type(swiftest_kinship), intent(inout), dimension(:), allocatable:: arr

Destination array

type(swiftest_kinship), 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