Defines how to multiply LocalProfiles types by a scalar
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
real(kind=Float64), | intent(in) | :: | real_scalar | |||
type(LocalProfiles), | intent(in) | :: | p1 |
elemental function slp_multiply(real_scalar, p1) result (p3)
!+ Defines how to multiply [[LocalProfiles]] types by a scalar
type(LocalProfiles), intent(in) :: p1
real(Float64), intent(in) :: real_scalar
type(LocalProfiles) :: p3
p3 = p1*real_scalar
end function slp_multiply