FV3 Bundle
tools_qsort Module Reference

Data Types

interface  interchange_sort
 
interface  qsort
 
interface  quick_sort
 

Functions/Subroutines

recursive subroutine qsort_integer (n, list, order)
 
recursive subroutine qsort_real (n, list, order)
 
recursive subroutine quick_sort_integer (n, left_end, right_end, list, order)
 
recursive subroutine quick_sort_real (n, left_end, right_end, list, order)
 
subroutine interchange_sort_integer (n, left_end, right_end, list, order)
 
subroutine interchange_sort_real (n, left_end, right_end, list, order)
 

Function/Subroutine Documentation

◆ interchange_sort_integer()

subroutine tools_qsort::interchange_sort_integer ( integer, intent(in)  n,
integer, intent(in)  left_end,
integer, intent(in)  right_end,
integer, dimension(n), intent(inout)  list,
integer, dimension(n), intent(inout)  order 
)
private

Definition at line 215 of file tools_qsort.F90.

◆ interchange_sort_real()

subroutine tools_qsort::interchange_sort_real ( integer, intent(in)  n,
integer, intent(in)  left_end,
integer, intent(in)  right_end,
real(kind_real), dimension(n), intent(inout)  list,
integer, dimension(n), intent(inout)  order 
)
private

Definition at line 249 of file tools_qsort.F90.

◆ qsort_integer()

recursive subroutine tools_qsort::qsort_integer ( integer, intent(in)  n,
integer, dimension(n), intent(inout)  list,
integer, dimension(n), intent(inout)  order 
)
private

Definition at line 43 of file tools_qsort.F90.

◆ qsort_real()

recursive subroutine tools_qsort::qsort_real ( integer, intent(in)  n,
real(kind_real), dimension(n), intent(inout)  list,
integer, dimension(n), intent(inout)  order 
)
private

Definition at line 67 of file tools_qsort.F90.

◆ quick_sort_integer()

recursive subroutine tools_qsort::quick_sort_integer ( integer, intent(in)  n,
integer, intent(in)  left_end,
integer, intent(in)  right_end,
integer, dimension(n), intent(inout)  list,
integer, dimension(n), intent(inout)  order 
)
private

Definition at line 91 of file tools_qsort.F90.

◆ quick_sort_real()

recursive subroutine tools_qsort::quick_sort_real ( integer, intent(in)  n,
integer, intent(in)  left_end,
integer, intent(in)  right_end,
real(kind_real), dimension(n), intent(inout)  list,
integer, dimension(n), intent(inout)  order 
)
private

Definition at line 153 of file tools_qsort.F90.