Defines how to multiply EMFields types by a scalar
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
real(kind=Float64), | intent(in) | :: | real_scalar | |||
type(EMFields), | intent(in) | :: | p1 |
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