lps_divide Function

public elemental function lps_divide(p1, real_scalar) result(p3)

Defines how to divide LocalProfiles types by a scalar

Arguments

TypeIntentOptionalAttributesName
type(LocalProfiles), intent(in) :: p1
real(kind=Float64), intent(in) :: real_scalar

Return Value type(LocalProfiles)


Called by

proc~~lps_divide~~CalledByGraph proc~lps_divide lps_divide interface~operator(SLASH) operator(/) interface~operator(SLASH)->proc~lps_divide

Contents

Source Code


Source Code

elemental function lps_divide(p1, real_scalar) result (p3)
    !+ Defines how to divide [[LocalProfiles]] types by a scalar
    type(LocalProfiles), intent(in) :: p1
    real(Float64), intent(in)       :: real_scalar
    type(LocalProfiles)             :: p3

    p3 = p1*(1.d0/real_scalar)

end function lps_divide