sf_multiply Function

public function sf_multiply(real_scalar, p1) result(p3)

Defines how to multiply EMFields types by a scalar

Arguments

Type IntentOptional AttributesName
real(kind=Float64), intent(in) :: real_scalar
type(EMFields), intent(in) :: p1

Return Value type(EMFields)


Called by

proc~~sf_multiply~~CalledByGraph proc~sf_multiply sf_multiply interface~operator(*) operator(*) interface~operator(*)->proc~sf_multiply

Contents

Source Code


Source Code

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

    p3 = p1*real_scalar

end function sf_multiply