get_max_ratio Function

public function get_max_ratio(j) result(maxSpawn)

Arguments

Type IntentOptional Attributes Name
integer, intent(in) :: j

Return Value real(kind=dp)


Contents

Source Code


Source Code

    function get_max_ratio(j) result(maxSpawn)
        ! Get the maximum ratio Hij/pgen for the determinant j so far
        ! Input: j - index of the determinant
        ! Output: maxSpawn - maximum Hij/pgen of spawning attempts from Determinant j so far
        implicit none
        integer, intent(in) :: j
        real(dp) :: maxSpawn

        maxSpawn = global_determinant_data(pos_max_ratio, j)
    end function get_max_ratio