Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
integer, | intent(in) | :: | j |
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