SABER
tools_qsort::qsort Interface Reference

Public Member Functions

recursive subroutine qsort_integer (n, list, order)
 Sort an integer subvector. More...
 
recursive subroutine qsort_real (n, list, order)
 Sort a real subvector. More...
 

Detailed Description

Definition at line 19 of file tools_qsort.F90.

Member Function/Subroutine Documentation

◆ qsort_integer()

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

Sort an integer subvector.

Parameters
[in]nInput vector size
[in,out]listVector to sort
[in,out]orderPositions of the elements in the original order

Definition at line 43 of file tools_qsort.F90.

◆ qsort_real()

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

Sort a real subvector.

Parameters
[in]nInput vector size
[in,out]listVector to sort
[in,out]orderPositions of the elements in the original order

Definition at line 67 of file tools_qsort.F90.


The documentation for this interface was generated from the following file: