*
operator.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(integrand_ladvection), | intent(in) | :: | lhs | Left hand side. |
||
class(integrand_object), | intent(in) | :: | rhs | Right hand side. |
Operator result.
pure function integrand_multiply_integrand(lhs, rhs) result(opr)
!< `*` operator.
class(integrand_ladvection), 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_ladvection)
opr = lhs%U * rhs%U
endselect
endfunction integrand_multiply_integrand