FORCES
FORtran lib for Comp. Env. Sys.
|
Quicksort ranking, with insertion sort at last step (unoptimized) More...
Public Member Functions | |
subroutine | d_refsor (xdont) |
subroutine | r_refsor (xdont) |
subroutine | i_refsor (xdont) |
subroutine | c_refsor (xdont) |
Quicksort ranking, with insertion sort at last step (unoptimized)
Sorts XVALT into increasing order (Quick sort). This version is not optimized for performance, and is thus not as difficult to read as some other ones. This subroutine uses quicksort in a recursive implementation, and insertion sort for the last steps with small subsets. It does not use any work array
[in,out] | integer(i4)/real(sp,dp), dimension(:) :: XVALT | Array to be ranked. |
Definition at line 553 of file mo_orderpack.f90.
subroutine mo_orderpack::refsor::c_refsor | ( | character(*), dimension (:), intent(inout) | xdont | ) |
Definition at line 9146 of file mo_orderpack.f90.
subroutine mo_orderpack::refsor::d_refsor | ( | real(kind = dp), dimension (:), intent(inout) | xdont | ) |
Definition at line 8822 of file mo_orderpack.f90.
subroutine mo_orderpack::refsor::i_refsor | ( | integer(kind = i4), dimension (:), intent(inout) | xdont | ) |
Definition at line 9038 of file mo_orderpack.f90.
subroutine mo_orderpack::refsor::r_refsor | ( | real(kind = sp), dimension (:), intent(inout) | xdont | ) |
Definition at line 8930 of file mo_orderpack.f90.