GBTOlib: library for evaluation of molecular integrals in mixed Gaussian / B-spline basis 111
Loading...
Searching...
No Matches
multiway_merge_float_int.f90 File Reference

Functions/Subroutines

program test_multiway_merge_float_int
 Unit test for sort_gbl::multiway_merge_float_int
subroutine verify_order (ints, reals)

Function/Subroutine Documentation

◆ test_multiway_merge_float_int()

program test_multiway_merge_float_int

Unit test for sort_gbl::multiway_merge_float_int

Authors
J Benda
Date
2025

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.

Here is the call graph for this function:

◆ verify_order()

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