|
PB3D
[2.45]
Ideal linear high-n MHD stability in 3-D
|
Sorting with the bubble sort routine. More...
Public Member Functions | |
| subroutine | bubble_sort_int (a, piv) |
| integer version More... | |
| subroutine | bubble_sort_real (a, piv) |
| real version More... | |
Sorting with the bubble sort routine.
Optionally, the pivots can be given back.
Definition at line 237 of file num_utilities.f90.
| subroutine num_utilities::bubble_sort::bubble_sort_int | ( | integer, dimension(:), intent(inout) | a, |
| integer, dimension(:), intent(inout), optional | piv | ||
| ) |
integer version
| [in,out] | a | vector to sort |
| [in,out] | piv | pivots |
Definition at line 1539 of file num_utilities.f90.
| subroutine num_utilities::bubble_sort::bubble_sort_real | ( | real(dp), dimension(:), intent(inout) | a, |
| integer, dimension(:), intent(inout), optional | piv | ||
| ) |
real version
| [in,out] | a | vector to sort |
| [in,out] | piv | pivots |
Definition at line 1505 of file num_utilities.f90.