|
GBTOlib: library for evaluation of molecular integrals in mixed Gaussian / B-spline basis 111
|
Functions/Subroutines | |
| program | test_multiway_merge_float_int |
| Unit test for sort_gbl::multiway_merge_float_int | |
| subroutine | verify_order (ints, reals) |
| program test_multiway_merge_float_int |
Unit test for sort_gbl::multiway_merge_float_int
Prepares an array with presorted chunks, applies the m-way merge routine, and tests the resulting order. Checks both in-memory and scratch-backed versions. Uses the sequences from the sieve of Eratosthenes, which have very non-uniform lengths.

| subroutine test_multiway_merge_float_int::verify_order | ( | integer, dimension(:), intent(in) | ints, |
| real(cfp), dimension(:), intent(in) | reals ) |