util_sort_rearrange Interface

public interface util_sort_rearrange

Subroutines

public module subroutine swiftest_util_sort_rearrange_arr_info(arr, ind, n)

Arguments

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

Destination array

integer(kind=I4B), intent(in), dimension(:) :: ind

Index to rearrange against

integer(kind=I4B), intent(in) :: n

Number of elements in arr and ind to rearrange

public pure module subroutine swiftest_util_sort_rearrange_arr_kin(arr, ind, n)

Arguments

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

Destination array

integer(kind=I4B), intent(in), dimension(:) :: ind

Index to rearrange against

integer(kind=I4B), intent(in) :: n

Number of elements in arr and ind to rearrange