util_sort Interface

public interface util_sort

Calls

interface~~util_sort~~CallsGraph interface~util_sort util_sort proc~base_util_sort_i4b base_util_sort_i4b interface~util_sort->proc~base_util_sort_i4b proc~base_util_sort_index_i4b base_util_sort_index_I4B interface~util_sort->proc~base_util_sort_index_i4b proc~base_util_sort_index_i4b_i8bind base_util_sort_index_I4B_I8Bind interface~util_sort->proc~base_util_sort_index_i4b_i8bind proc~base_util_sort_index_i8b_i8bind base_util_sort_index_I8B_I8Bind interface~util_sort->proc~base_util_sort_index_i8b_i8bind proc~base_util_sort_sp base_util_sort_sp interface~util_sort->proc~base_util_sort_sp proc~base_util_sort_index_sp base_util_sort_index_sp interface~util_sort->proc~base_util_sort_index_sp proc~base_util_sort_dp base_util_sort_dp interface~util_sort->proc~base_util_sort_dp proc~base_util_sort_index_dp base_util_sort_index_dp interface~util_sort->proc~base_util_sort_index_dp proc~base_util_sort_qsort_i4b base_util_sort_qsort_I4B proc~base_util_sort_i4b->proc~base_util_sort_qsort_i4b proc~base_util_sort_index_i4b->proc~base_util_sort_qsort_i4b proc~base_util_sort_qsort_i4b_i8bind base_util_sort_qsort_I4B_I8Bind proc~base_util_sort_index_i4b_i8bind->proc~base_util_sort_qsort_i4b_i8bind proc~base_util_sort_qsort_i8b_i8bind base_util_sort_qsort_I8B_I8Bind proc~base_util_sort_index_i8b_i8bind->proc~base_util_sort_qsort_i8b_i8bind proc~base_util_sort_qsort_sp base_util_sort_qsort_SP proc~base_util_sort_sp->proc~base_util_sort_qsort_sp proc~base_util_sort_index_sp->proc~base_util_sort_qsort_sp proc~base_util_sort_qsort_dp base_util_sort_qsort_DP proc~base_util_sort_dp->proc~base_util_sort_qsort_dp proc~base_util_sort_index_dp->proc~base_util_sort_qsort_dp proc~base_util_sort_qsort_i4b->proc~base_util_sort_qsort_i4b proc~base_util_sort_partition_i4b base_util_sort_partition_I4B proc~base_util_sort_qsort_i4b->proc~base_util_sort_partition_i4b proc~base_util_sort_qsort_i4b_i8bind->proc~base_util_sort_qsort_i4b_i8bind proc~base_util_sort_partition_i4b_i8bind base_util_sort_partition_I4B_I8Bind proc~base_util_sort_qsort_i4b_i8bind->proc~base_util_sort_partition_i4b_i8bind proc~base_util_sort_qsort_sp->proc~base_util_sort_qsort_sp proc~base_util_sort_partition_sp base_util_sort_partition_SP proc~base_util_sort_qsort_sp->proc~base_util_sort_partition_sp proc~base_util_sort_qsort_dp->proc~base_util_sort_qsort_dp proc~base_util_sort_partition_dp base_util_sort_partition_DP proc~base_util_sort_qsort_dp->proc~base_util_sort_partition_dp proc~base_util_sort_qsort_i8b_i8bind->proc~base_util_sort_qsort_i8b_i8bind proc~base_util_sort_partition_i8b_i8bind base_util_sort_partition_I8B_I8Bind proc~base_util_sort_qsort_i8b_i8bind->proc~base_util_sort_partition_i8b_i8bind

Contents


Module Procedures

public pure subroutine base_util_sort_i4b(arr)

Author
David A. Minton

Sort input integer array in place into ascending numerical order using quick sort. This algorithm works well for partially sorted arrays (which is usually the case here)

Arguments

TypeIntentOptionalAttributesName
integer(kind=I4B), intent(inout), dimension(:):: arr

public pure subroutine base_util_sort_index_I4B(arr, ind)

Author
David A. Minton

Sort input integer array by index in ascending numerical order using quicksort. If ind is supplied already allocated, we assume it is an existing index array (e.g. a previously sorted array). If it is not allocated, this subroutine swiftest_allocates it.

Arguments

TypeIntentOptionalAttributesName
integer(kind=I4B), intent(in), dimension(:):: arr
integer(kind=I4B), intent(inout), dimension(:), allocatable:: ind

public pure subroutine base_util_sort_index_I4B_I8Bind(arr, ind)

Author
David A. Minton

Sort input integer array by index in ascending numerical order using quicksort. If ind is supplied already allocated, we assume it is an existing index array (e.g. a previously sorted array). If it is not allocated, this subroutine swiftest_allocates it.

Arguments

TypeIntentOptionalAttributesName
integer(kind=I4B), intent(in), dimension(:):: arr
integer(kind=I8B), intent(inout), dimension(:), allocatable:: ind

public pure subroutine base_util_sort_index_I8B_I8Bind(arr, ind)

Author
David A. Minton

Sort input integer array by index in ascending numerical order using quicksort. If ind is supplied already allocated, we assume it is an existing index array (e.g. a previously sorted array). If it is not allocated, this subroutine swiftest_allocates it.

Arguments

TypeIntentOptionalAttributesName
integer(kind=I8B), intent(in), dimension(:):: arr
integer(kind=I8B), intent(inout), dimension(:), allocatable:: ind

public pure subroutine base_util_sort_sp(arr)

Author
David A. Minton

Sort input DP precision array in place into ascending numerical order using quicksort.

Arguments

TypeIntentOptionalAttributesName
real(kind=SP), intent(inout), dimension(:):: arr

public pure subroutine base_util_sort_index_sp(arr, ind)

Author
David A. Minton

Sort input DP precision array by index in ascending numerical order using quicksort. If ind is supplied already allocated, we assume it is an existing index array (e.g. a previously sorted array). If it is not allocated, this subroutine swiftest_allocates it.

Arguments

TypeIntentOptionalAttributesName
real(kind=SP), intent(in), dimension(:):: arr
integer(kind=I4B), intent(inout), dimension(:), allocatable:: ind

public pure subroutine base_util_sort_dp(arr)

Author
David A. Minton

Sort input DP precision array in place into ascending numerical order using quicksort.

Arguments

TypeIntentOptionalAttributesName
real(kind=DP), intent(inout), dimension(:):: arr

public pure subroutine base_util_sort_index_dp(arr, ind)

Author
David A. Minton

Sort input DP precision array by index in ascending numerical order using quick sort. This algorithm works well for partially sorted arrays (which is usually the case here). If ind is supplied already allocated, we assume it is an existing index array (e.g. a previously sorted array). If it is not allocated, this subroutine swiftest_allocates it.

Arguments

TypeIntentOptionalAttributesName
real(kind=DP), intent(in), dimension(:):: arr
integer(kind=I4B), intent(inout), dimension(:), allocatable:: ind