Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
integer(kind=int_rdm), | intent(in) | :: | rdm_ind |
elemental function pure_rdm_ind(rdm_ind) result(pure_ind)
! return 'just' the rdm index without the excit-level and type info
integer(int_rdm), intent(in) :: rdm_ind
integer(int_rdm) :: pure_ind
pure_ind = iand(rdm_ind, rdm_ind_bitmask)
end function pure_rdm_ind