Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
real(kind=dp), | intent(in) | :: | bValue | |||
real(kind=dp), | intent(in) | :: | x | |||
real(kind=dp), | intent(in) | :: | y |
elemental function functionA(bValue, x, y) result(r)
! calculated the "A" function used for Shavitts matrix element calc.
real(dp), intent(in) :: bValue, x, y
real(dp) :: r
r = sqrt((bValue + x) / (bValue + y))
end function functionA