+
operator.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(integrand_lcce), | intent(in) | :: | lhs | Left hand side. |
||
class(integrand_object), | intent(in) | :: | rhs | Right hand side. |
Operator result.
pure function integrand_add_integrand(lhs, rhs) result(opr)
!< `+` operator.
class(integrand_lcce), intent(in) :: lhs !< Left hand side.
class(integrand_object), intent(in) :: rhs !< Right hand side.
real(R_P), allocatable :: opr(:) !< Operator result.
select type(rhs)
class is(integrand_lcce)
opr = [lhs%U + rhs%U]
endselect
endfunction integrand_add_integrand