=
operator.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(integrand_oscillation), | intent(inout) | :: | lhs | Left hand side. |
||
class(integrand_object), | intent(in) | :: | rhs | Right hand side. |
pure subroutine assign_integrand(lhs, rhs)
!< `=` operator.
class(integrand_oscillation), intent(inout) :: lhs !< Left hand side.
class(integrand_object), intent(in) :: rhs !< Right hand side.
select type(rhs)
class is(integrand_oscillation)
lhs%f = rhs%f
lhs%U0 = rhs%U0
lhs%U = rhs%U
endselect
endsubroutine assign_integrand