Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
integer, | intent(in) | :: | i | |||
integer, | intent(in) | :: | j | |||
integer, | intent(in) | :: | k | |||
integer, | intent(in) | :: | l |
function kMatOppSpinCorrection(i, j, k, l) result(matel)
implicit none
integer, intent(in) :: i, j, k, l
real(dp) :: matel
matel = kMatLinFac * kMatLin%directElement(i, j, k, l) &
+ kMatSqFac * kMatSq%directElement(i, j, k, l) &
- kMatLinFac * kMatLin%exchElement(i, j, k, l) &
- kMatSqFac * kMatSq%exchElement(i, j, k, l)
end function kMatOppSpinCorrection