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