+
fast operator.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(integrand_lcce), | intent(inout) | :: | opr | Operator result. |
||
class(integrand_object), | intent(in) | :: | lhs | Left hand side. |
||
class(integrand_object), | intent(in) | :: | rhs | Right hand side. |
pure subroutine integrand_add_integrand_fast(opr, lhs, rhs)
!< `+` fast operator.
class(integrand_lcce), intent(inout) :: opr !< Operator result.
class(integrand_object), intent(in) :: lhs !< Left hand side.
class(integrand_object), intent(in) :: rhs !< Right hand side.
select type(lhs)
class is(integrand_lcce)
select type(rhs)
class is(integrand_lcce)
opr%U = lhs%U + rhs%U
endselect
endselect
endsubroutine integrand_add_integrand_fast