![]() |
Go to the source code of this file.
Modules | |
module | mergesort_module |
Module mergesort_module for merging arrays of rates. | |
Functions/Subroutines | |
subroutine, public | mergesort_module::mergesort_init () |
Initialize the mergesort module and open files for debugging. More... | |
subroutine, public | mergesort_module::nurate_ms (x, xs, y, ys, r) |
Merges two tables of neutrino rates (of type global_class::nurate_type). More... | |
subroutine, public | mergesort_module::rrate_ms (x, xs, y, ys, r, ptz, rate_out) |
Merges two tables of rates (of type global_class::reactionrate_type). More... | |
subroutine, public | mergesort_module::rrate_qs_replace (x, xs, y, ys, r, out_array, ptz) |
Wrapper around the quicksort subroutine. More... | |
recursive subroutine, private | mergesort_module::qsort (A, nA) |
Modified quicksort algorithm. More... | |
subroutine, public | mergesort_module::mergesort_finalize () |
Close files and finalize this module. More... | |
subroutine, public | mergesort_module::rrate_sort (num, rate_array) |
Sorts chapter one of the rate array. More... | |
subroutine, public | mergesort_module::bubblesort (mode, length, arr1, arr2) |
Bubblesort of array. More... | |
recursive subroutine, public | mergesort_module::quicksort (mode, length, arr1, arr2, is_recursion) |
Quicksort of array. More... | |
subroutine, public | mergesort_module::reorder (arr1, arr2, length) |
Takes an array and an array with indices to reorder the first array. More... | |
subroutine, public | mergesort_module::reorder_int (arr1, arr2, length) |
Takes an array and an array with indices to reorder the first array. More... | |
character(31) function | ratesortkey (group, parts) |
Returns a key for sorting a rate array by concatenating isotope indices. More... | |
Variables | |
integer, private | mergesort_module::debug_tabl |
File ID for debugging tabulated rate class. More... | |
character(31) function ratesortkey | ( | integer | group, |
integer, dimension(6) | parts | ||
) |
Returns a key for sorting a rate array by concatenating isotope indices.
Rule: order of elements depends on chapter.
The here produced string is compared for being lexically greater or smaller in qsort.
Edited:
Definition at line 976 of file mergesort_module.f90.