partition Subroutine

private subroutine partition(list, marker)

This subroutine partitions the given list for the quicksort algorithm

Arguments

TypeIntentOptionalAttributesName
integer(kind=long_k), intent(inout) :: list(:)

list to be partitioned

integer, intent(out) :: marker

marker where the list is partitioned


Called by

proc~~partition~~CalledByGraph proc~partition partition proc~qsort_vrtx qsort_vrtx proc~qsort_vrtx->proc~partition proc~qsort_vrtx->proc~qsort_vrtx proc~tem_calc_vrtx_coord tem_calc_vrtx_coord proc~tem_calc_vrtx_coord->proc~qsort_vrtx proc~hvs_output_init hvs_output_init proc~hvs_output_init->proc~tem_calc_vrtx_coord proc~tem_init_tracker tem_init_tracker proc~tem_init_tracker->proc~hvs_output_init

Contents


Variables

TypeVisibilityAttributesNameInitial
integer, private :: left
integer, private :: right
integer(kind=long_k), private :: pivot
integer(kind=long_k), private :: temp