<commit_before>module spawning

! Module for procedures involved in the spawning step of the FCIQMC algorithm.

use const
implicit none

contains

    subroutine spawn_hub_k(cdet)

        ! Attempt to spawn a new particle on a connected determinant.
        ! In:
        !    cdet: info on the current determinant (cdet) that we will spawn
        !        from.

        use determinants, only: det_info
        use dSFMT_interface, only:  genrand_real2
        use excitations, only: calc_pgen_hub_k
        use fciqmc_data, only: tau
        use system, only: hub_k_coulomb
        use symmetry, only: inv_sym

        type(det_info) :: cdet
        real(dp) :: pgen, psuccess, pspawn<commit_msg>Minor change to spawning interface.<commit_after>module spawning

! Module for procedures involved in the spawning step of the FCIQMC algorithm.

use const
implicit none

contains

    subroutine spawn_hub_k(spos, cdet)

        ! Attempt to spawn a new particle on a connected determinant.
        ! In:
        !    spos: current position within the spawned walkers array.
        !    cdet: info on the current determinant (cdet) that we will spawn
        !        from.

        use determinants, only: det_info
        use dSFMT_interface, only:  genrand_real2
        use excitations, only: calc_pgen_hub_k
        use fciqmc_data, only: tau
        use system, only: hub_k_coulomb
        use symmetry, only: inv_sym

        integer, intent(in) :: spos
        type(det_info), intent(in) :: cdet
        real(dp) :: pgen, psuccess, pspawn
{'fraction_non_alphanumeric': 0.05878552971576227, 'fraction_numerical': 0.0012919896640826874, 'mean_word_length': 2.4966139954853275, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2922545', 'n_tokens_mistral': 476, 'n_tokens_neox': 453, 'n_words': 164}