funOverB Function

private pure function funOverB(b, x) result(ret)

Arguments

Type IntentOptional Attributes Name
real(kind=dp), intent(in) :: b
real(kind=dp), intent(in) :: x

Return Value real(kind=dp)


Contents

Source Code


Source Code

    pure function funOverB(b, x) result(ret)
        real(dp), intent(in) :: b, x
        real(dp) :: ret
        !ASSERT( (b + x) > 0.0_dp)
        ret = 1.0_dp / (b + x)
    end function funOverB