Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
integer(kind=n_int), | intent(in) | :: | ilutG(0:GugaBits%len_tot) |
function extract_h_element(ilutG) result(HElement)
integer(n_int), intent(in) :: ilutG(0:GugaBits%len_tot)
HElement_t(dp) :: HElement
#ifdef CMPLX_
HElement = cmplx(extract_matrix_element(ilutG, 1), &
extract_matrix_element(ilutG, 2), kind=dp)
#else
HElement = extract_matrix_element(ilutG, 1)
#endif
end function extract_h_element