real +
operator.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
real(kind=R_P), | intent(in) | :: | lhs(1:) | Left hand side. |
||
class(integrand_oscillation), | intent(in) | :: | rhs | Left hand side. |
Operator result.
pure function real_add_integrand(lhs, rhs) result(opr)
!< `real +` operator.
real(R_P), intent(in) :: lhs(1:) !< Left hand side.
class(integrand_oscillation), intent(in) :: rhs !< Left hand side.
real(R_P), allocatable :: opr(:) !< Operator result.
opr = lhs + rhs%U
endfunction real_add_integrand