slf_multiply Function

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

Defines how to multiply LocalEMFields types by a scalar

Arguments

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

Return Value type(LocalEMFields)


Called by

proc~~slf_multiply~~CalledByGraph proc~slf_multiply slf_multiply interface~operator(ASTERISK) operator(*) interface~operator(ASTERISK)->proc~slf_multiply

Contents

Source Code


Source Code

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

    p3 = p1*real_scalar

end function slf_multiply