Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
integer(kind=n_int), | intent(in) | :: | ilut(0:niftot) |
pure function calcDiagMatEleGuga_ilut(ilut) result(hElement)
! function to calculate the diagonal matrix element if a stepvector
! in ilut format is given
integer(n_int), intent(in) :: ilut(0:niftot)
HElement_t(dp) :: hElement
integer :: nI(nEl)
call decode_bit_det(nI, ilut)
hElement = calcDiagMatEleGUGA_nI(nI)
end function calcDiagMatEleGuga_ilut