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)


Source Code

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